FileFormatUtil.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)
ParameterTypeDescription
streamStream
passwordStringThe password for encrypted ooxml files.

Return Value

Returns whether the password is corrected.

See Also