System.IO.Compression Namespace

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

  Class Description
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps DeflateStream Provides methods and properties for compressing and decompressing streams by using the Deflate algorithm.
Public class Supported by Portable Class Library Supported in .NET for Windows Store apps GZipStream Provides methods and properties used to compress and decompress streams.
Public class Supported in .NET for Windows Store apps ZipArchive Represents a package of compressed files in the zip archive format.
Public class Supported in .NET for Windows Store apps ZipArchiveEntry Represents a compressed file within a zip archive.
Public class ZipFile Provides static methods for creating, extracting, and opening zip archives.
Public class ZipFileExtensions Provides extension methods for the ZipArchive and ZipArchiveEntry classes.

  Enumeration Description
Public enumeration Supported in .NET for Windows Store apps CompressionLevel Specifies values that indicate whether a compression operation emphasizes speed or compression size.
Public enumeration Supported by Portable Class Library Supported in .NET for Windows Store apps CompressionMode Specifies whether to compress or decompress the underlying stream.
Public enumeration Supported in .NET for Windows Store apps ZipArchiveMode Specifies values for interacting with zip archive entries.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft