This documentation is archived and is not being maintained.

GZipStream Constructor

Initializes a new instance of the GZipStream class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GZipStream(Stream, CompressionMode) Initializes a new instance of the GZipStream class using the specified stream and CompressionMode value.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework 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.
Top

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

Show: