System.IO.Compression Namespace
The System.IO.Compression namespace contains classes that provide basic compression and decompression services for streams.
| Class | Description | |
|---|---|---|
![]() | 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. |
![]() | ZipArchive | Represents a package of compressed files in the zip archive format. |
![]() | ZipArchiveEntry | Represents a compressed file within a zip archive. |
![]() | ZipFile | Provides static methods for creating, extracting, and opening zip archives. |
![]() | ZipFileExtensions | Provides extension methods for the ZipArchive and ZipArchiveEntry classes. |
| Enumeration | Description | |
|---|---|---|
![]() | CompressionLevel | Specifies values that indicate whether a compression operation emphasizes speed or compression size. |
![]() | CompressionMode | Specifies whether to compress or decompress the underlying stream. |
![]() | ZipArchiveMode | Specifies values for interacting with zip archive entries. |

