Check whether doument is encrypted.
Namespace: Spire.PdfViewer.FormsAssembly: Spire.PdfViewer.Forms (in Spire.PdfViewer.Forms.dll) Version: 6.6.0.0 (6.6.0.2020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
[ObsoleteAttribute("This method may be removed in the future,please use the method of "IsEncryptedDocument()".")] public static bool VeryfyDocumentEncrypted( string filePath )
<ObsoleteAttribute("This method may be removed in the future,please use the method of "IsEncryptedDocument()".")> Public Shared Function VeryfyDocumentEncrypted ( filePath As String ) As Boolean
public: [ObsoleteAttribute(L"This method may be removed in the future,please use the method of "IsEncryptedDocument()".")] static bool VeryfyDocumentEncrypted( String^ filePath )
[<ObsoleteAttribute("This method may be removed in the future,please use the method of "IsEncryptedDocument()".")>] static member VeryfyDocumentEncrypted : filePath : string -> bool
Parameters
- filePath
- String
File path.
Return Value
BooleanDocument is encrypted,true.Otherwise,false.