Enum
CompressionMethod

Defines the compression or marker methods the ZIP library uses to encode entry data, including raw storage, Deflate, LZMA, and the AES marker (99) used when WinZip AES encryption is applied.

Definition

Namespace:Telerik.Windows.Zip

Assembly:Telerik.Windows.Zip.dll

Syntax:

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1027:MarkEnumsWithFlags")]
public enum CompressionMethod

Fields

Aes

Marks an entry encrypted with AES (method value 99); the actual underlying compression method is stored in the AES extra data field.

Declaration

cs-api-definition
Aes = 99

Field Value

CompressionMethod

Deflate

Compresses the file with the Deflate algorithm (RFC 1951), balancing speed and size for general data.

Declaration

cs-api-definition
Deflate = 8

Field Value

CompressionMethod

Lzma

Compresses the file using the LZMA algorithm, providing high ratio at the cost of greater CPU and memory.

Declaration

cs-api-definition
Lzma = 14

Field Value

CompressionMethod

Stored

Stores the file without compression; use for already compressed or very small data to avoid overhead.

Declaration

cs-api-definition
Stored = 0

Field Value

CompressionMethod

In this article
DefinitionFieldsAesDeflateLzmaStored
Not finding the help you need?
Contact Support