System.IO.Compression.CompressionMode Enumeration

Specifies whether to compress or decompress the underlying stream.

Syntax

public enum CompressionMode

Remarks

This enumeration is used with the System.IO.Compression.GZipStream and System.IO.Compression.DeflateStream classes.

Members

Member NameDescription
Compress

Compresses the underlying stream.

Decompress

Decompresses the underlying stream.

Requirements

Namespace: System.IO.Compression
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0