PdfPasswordException Class

Definition

The exception thrown when an encrypted document cannot be opened with the password given.

public sealed class PdfPasswordException : Exception, ISerializable

Remarks

ISO 32000-2 §7.6.4.1: a reader first tries the default (empty) user password and, when that fails, should prompt for a password. Failure tells the two cases apart, so a caller can prompt on Required and report a typing mistake on Incorrect.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (4)

Properties (1)