Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ZipArchive.EncryptionType Property

Gets or sets the default encryption type.

Namespace: DevExpress.Compression

Assembly: DevExpress.Docs.v24.2.dll

NuGet Package: DevExpress.Document.Processor

#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