VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office Namespace / OfficeDocumentCryptography Class / VerifyPassword Methods / VerifyPassword(String,String) Method
Syntax Requirements SeeAlso
In This Topic
VerifyPassword(String,String) Method (OfficeDocumentCryptography)
In This Topic
Verifies the password of secured Office document.
Syntax
'Declaration

Public Overloads Shared Function VerifyPassword( _
ByVal filename
The file name.
As System.String, _
ByVal password
The password.
As System.String _
) As Boolean
public static bool VerifyPassword(
System.String filename,
System.String password
)

Parameters

filename
The file name.
password
The password.

Return Value

True - if document is secured and password is correct; otherwise, false.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also