Click or drag to resize

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

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

PdfSecurityInfo
The security settings of the document.
Exceptions
ExceptionCondition
SecurePdfExceptionThe bytes are not a PDF document, or the password is not valid.
See Also