PdfSecurityManagerGetSecurityInfo(Byte, String) Method |
Gets the security settings of a password protected PDF document given as an array of bytes, without
changing it.
Namespace: ExpertPdf.Anywhere.PDFSecurityAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic PdfSecurityInfo GetSecurityInfo(
byte[] pdfBytes,
string password
)
Public Function GetSecurityInfo (
pdfBytes As Byte(),
password As String
) As PdfSecurityInfo
Parameters
- pdfBytes Byte
- The PDF document.
- password String
- The user or owner password of the document. Needed only for a document with a user
password, to read its signature information. Can be null.
Return Value
PdfSecurityInfoThe security settings of the document.
Exceptions| Exception | Condition |
|---|
| SecurePdfException | The bytes are not a PDF document, or the password is not valid. |
See Also