Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.

ZipArchive.EncryptionType Property

Gets or sets the default encryption type.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v19.1.dll

Declaration

public EncryptionType EncryptionType { get; set; }

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.

See Also