.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfEncryptionOptions Members

Contains settings to protect a PDF document with a password and user permissions.

Constructors

Name Description
PdfEncryptionOptions() Initializes a new instance of the PdfEncryptionOptions class without encryption settings specified for a PDF document.

Properties

Name Description
Algorithm Specifies an algorithm to encrypt a PDF document.
DataExtractionPermissions Specifies the permissions on data extraction operations.
InteractivityPermissions Specifies the permissions on interaction operations.
ModificationPermissions Specifies the permissions on document modification operations.
OwnerPassword Obsolete. This property is now obsolete. To specify an owner password, use the PdfEncryptionOptions.OwnerPasswordString property instead.
OwnerPasswordString Specifies an owner password that is used to allow full access to a document.
PrintingPermissions Specifies the permissions on printing operations.
UserPassword Obsolete. This property is now obsolete. To specify a user password, use the PdfEncryptionOptions.UserPasswordString property instead.
UserPasswordString Specifies a user password that is used to protect opening the document.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also