System.IO.Compression Namespace

The System.IO.Compression namespace contains classes that provide basic compression and decompression services for streams.

Remarks

 

Classes

TypeReason
CompressionLevel

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

CompressionMode

Specifies whether to compress or decompress the underlying stream.

DeflateStream

Provides methods and properties for compressing and decompressing streams by using the Deflate algorithm.

GZipStream

Provides methods and properties used to compress and decompress streams.