'Declaration Public Overloads Shared Function VerifyPassword( _
ByVal streamThe stream with file data.As System.IO.Stream, _
ByVal passwordThe password.As System.String _
) As Boolean
public static bool VerifyPassword(
System.IO.Stream stream,
System.String password
)
public: static bool VerifyPassword(
System.IO.Stream* stream,
System.String password
)
public:
static bool VerifyPassword(
System.IO.Stream^ stream,
System.String password
)
Parameters
- stream
- The stream with file data.
- password
- The password.
Return Value
True - if document is secured and password is correct; otherwise, false.