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, SecureString, SecureString) 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: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public bool IsEncrypted { get; }

Property Value

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