DecompressionMethods Enumeration

 
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.

Represents the file compression and decompression encoding format to be used to compress the data received in response to an HttpWebRequest.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Net
Assembly:  System (in System.dll)

<FlagsAttribute>
Public Enumeration DecompressionMethods

Member nameDescription
Deflate

Use the deflate compression-decompression algorithm.

GZip

Use the gZip compression-decompression algorithm.

None

Do not use compression.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: