DecompressionMethods Enumeration
Collapse the table of content
Expand the table of content

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)

public enum DecompressionMethods

Member nameDescription

Use the deflate compression-decompression algorithm.


Use the gZip compression-decompression algorithm.


Do not use compression.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
© 2016 Microsoft