Skip to content

CompressionFormat Enum ​

Definition ​

Specifies the compression algorithm to use when writing a file.

c#
public enum CompressionFormat

Fields ​

NameDescription
BrotliSpecifies that the file should be compressed using the Brotli algorithm when writing.
GZipSpecifies that the file should be compressed using the GZip algorithm when writing.
NoneSpecifies that no compression should be used when writing the file.
ZipSpecifies that the file should be compressed using the ZIP algorithm when writing. A single file archive will be produced.
ZstandardSpecifies that the file should be compressed using the Zstandard algorithm when writing.