Export (0) Print
Expand All

HttpWebRequest.AutomaticDecompression Property

Gets or sets the type of decompression that is used.

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

public DecompressionMethods AutomaticDecompression { get; set; }
/** @property */
public DecompressionMethods get_AutomaticDecompression ()

/** @property */
public void set_AutomaticDecompression (DecompressionMethods value)

public function get AutomaticDecompression () : DecompressionMethods

public function set AutomaticDecompression (value : DecompressionMethods)

Not applicable.

Property Value

A T:System.Net.DecompressionMethods object that indicates the type of decompression that is used.

Exception typeCondition

InvalidOperationException

The object's current state does not allow this property to be set.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft