 |
PdfSecurityManagerGetSecurityInfo Method |
Gets the security settings of the loaded document as it was loaded: its encryption, its permissions and the
signatures it carries. Changes made on this manager are not reflected.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.6
Syntaxpublic PdfSecurityInfo GetSecurityInfo()
Public Function GetSecurityInfo As PdfSecurityInfo
Return Value
PdfSecurityInfoThe security settings.
ExamplePdfSecurityManager manager = new PdfSecurityManager();
manager.Load("document.pdf", "password");
PdfSecurityInfo info = manager.GetSecurityInfo();
System.Console.WriteLine(info.IsEncrypted + " " + info.SignatureCount);
manager.Close();Dim manager As New PdfSecurityManager()
manager.Load("document.pdf", "password")
Dim info As PdfSecurityInfo = manager.GetSecurityInfo()
System.Console.WriteLine(info.IsEncrypted & " " & info.SignatureCount)
manager.Close()
See Also