Click or drag to resize

ExaminerResultsIsEncrypted Property

Gets a value indicating whether the document contains encryption. Not all documents that are encrypted require a non-empty password. This property merely indicates that a password might be required to correctly open the document. If FromStream(Stream, String, String) throws an IncorrectPasswordException, then the document requires a non-empty password or the supplied password(s) are incorrect.

Namespace:  Atalasoft.PdfDoc.Examiner
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public bool IsEncrypted { get; }

Property Value

Type: Boolean
true if the document is encrypted; otherwise, false.
See Also