HttpWebRequest.AutomaticDecompression Property

Definition

Gets or sets the type of decompression that is used.

public:
 property System::Net::DecompressionMethods AutomaticDecompression { System::Net::DecompressionMethods get(); void set(System::Net::DecompressionMethods value); };
public System.Net.DecompressionMethods AutomaticDecompression { get; set; }
member this.AutomaticDecompression : System.Net.DecompressionMethods with get, set
Public Property AutomaticDecompression As DecompressionMethods

Property Value

A DecompressionMethods object that indicates the type of decompression that is used.

Exceptions

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

Applies to