HttpClientHandler.AutomaticDecompression Property

.NET Framework (current version)

Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response.

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

public DecompressionMethods AutomaticDecompression { get; set; }

Property Value

Type: System.Net.DecompressionMethods

The automatic decompression method used by the handler. The default value is None.

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