ZipArchive.EncryptionType Property
Gets or sets the default encryption type.
Namespace: DevExpress.Compression
Assembly: DevExpress.Docs.v25.1.dll
NuGet Package: DevExpress.Document.Processor
Declaration
Property Value
| Type | Description |
|---|---|
| EncryptionType | An EncryptionType enumeration member specifying the encryption type. Default is EncryptionType.None. |
Available values:
| Name | Description |
|---|---|
| None | Do not use encryption. |
| PkZip | Use the PKZIP encryption algorithm. |
| Aes128 | Use the Advanced Encryption Standard (AES) cryptographic with keys that are 128 bits long. |
| Aes192 | Use the Advanced Encryption Standard (AES) cryptographic with keys that are 192 bits long. |
| Aes256 | Use the Advanced Encryption Standard (AES) cryptographic with keys that are 256 bits long. |
Remarks
When a password is set for the archive, the encryption type is automatically set to EncryptionType.PkZip.