Click or drag to resize

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.PDFSecurity
Assembly: epsecurepdf (in epsecurepdf.dll) Version: 10.0
Syntax
public PdfSecurityInfo GetSecurityInfo(
	string pdfFile,
	string password
)

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

PdfSecurityInfo
The security settings of the document.
Exceptions
ExceptionCondition
SecurePdfExceptionThe file cannot be read, it is not a PDF document, or the password is not valid.
See Also