GZipStream Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the GZipStream class.

Namespace:   System.IO.Compression
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodGZipStream(Stream, CompressionLevel)

Initializes a new instance of the GZipStream class by using the specified stream and compression level.

System_CAPS_pubmethodGZipStream(Stream, CompressionLevel, Boolean)

Initializes a new instance of the GZipStream class by using the specified stream and compression level, and optionally leaves the stream open.

System_CAPS_pubmethodGZipStream(Stream, CompressionMode)

Initializes a new instance of the GZipStream class by using the specified stream and compression mode.

System_CAPS_pubmethodGZipStream(Stream, CompressionMode, Boolean)

Initializes a new instance of the GZipStream class by using the specified stream and compression mode, and optionally leaves the stream open.

Return to top
Show: