DecompressionMethods Enumeration

 

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 enum 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: