PdfFileInfo.HasEditPassword

PdfFileInfo.HasEditPassword property

Returns true if password is needed to modify permissions or document security property. Pay attention that this property can be read only if valid password was provided in PdfFileInfo constructor. In case PasswordType is Inaccessible (means that invalid password was provided) reading this property will fail with InvalidPasswordException.

public bool HasEditPassword { get; }

See Also