VerifyPassword

FileFormatUtil.VerifyPassword method

Detects and returns the information about a format of an excel stored in a stream.

public static bool VerifyPassword(Stream stream, string password)
Parameter Type Description
stream Stream
password String The password for encrypted ooxml files.

Return Value

Returns whether the password is corrected.

See Also