PdfSecurityManagerGetSecurityInfo(String, String) Method |
Gets the security settings of a password protected PDF document without changing it: encryption
algorithm, key size and revision, the permissions, whether a user or owner password is needed, and its
signatures.
Namespace: ExpertPdf.PDFSecurityAssembly: epsecurepdf (in epsecurepdf.dll) Version: 10.0
Syntaxpublic PdfSecurityInfo GetSecurityInfo(
string pdfFile,
string password
)
Public Function GetSecurityInfo (
pdfFile As String,
password As String
) As PdfSecurityInfo
Parameters
- pdfFile String
- The PDF document full path.
- 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 file cannot be read, it is not a PDF document, or the password is not valid. |
See Also