Show / Hide Table of Contents

Class ExcelEncryption

How and if the workbook is encrypted ExcelProtection ExcelSheetProtection

Inheritance
System.Object
ExcelEncryption
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelEncryption

Properties

Algorithm

Algorithm used for encrypting the package. Default is AES 128-bit for standard and AES 256 for agile

Declaration
public EncryptionAlgorithm Algorithm { get; set; }
Property Value
Type Description
EncryptionAlgorithm

IsEncrypted

Is the package encrypted

Declaration
public bool IsEncrypted { get; set; }
Property Value
Type Description
System.Boolean

Password

The password used to encrypt the workbook.

Declaration
public string Password { get; set; }
Property Value
Type Description
System.String

Version

The version of the encryption.

Declaration
public EncryptionVersion Version { get; set; }
Property Value
Type Description
EncryptionVersion
In This Article
Back to top Generated by DocFX