This documentation is archived and is not being maintained.

GZipStream Constructor

Initializes a new instance of the GZipStream class.

Using the GZipStream class to compress a file larger than 4 GB raises an exception.

Name Description
GZipStream (Stream, CompressionMode) Initializes a new instance of the GZipStream class using the specified stream and CompressionMode value.
GZipStream (Stream, CompressionMode, Boolean) Initializes a new instance of the GZipStream class using the specified stream and CompressionMode value, and a value that specifies whether to leave the stream open.
Show: