Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.​IO.​Compression.​CompressionLevel

Assembly: System.IO.Compression

Specifies values that indicate whether a compression operation emphasizes speed or compression size.

Values

Optimal
The compression operation should optimally balance compression speed and output size.
Fastest
The compression operation should complete as quickly as possible, even if the resulting file is not optimally compressed.
NoCompression
No compression should be performed on the file.
SmallestSize
The compression operation should create output as small as possible, even if the operation takes a longer time to complete.