Skip to main content

EncryptionOptions Members

Contains encryption options for a workbook.

Constructors

Name Description
EncryptionOptions() Initializes a new instance of the EncryptionOptions class with the default settings.

Fields

Name Description
DefaultType Stores the default EncryptionOptions.Type value that is ModelEncryptionType.Strong.

Properties

Name Description
Password Gets or sets the password to encrypt the workbook.
Type Gets or sets the encryption mechanism used to create a password-protected workbook.

Methods

Name Description
CopyFrom(EncryptionOptions) Copies the appropriate properties of the specified object into the current instance of the EncryptionOptions class.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. 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.
PreserveSession(IEncryptionSession, String) For internal use.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets all encryption options to their default values.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also