Mono Class Library: System.Net.HttpWebResponse Overview | Members

System.Net.HttpWebResponse.ContentEncoding Property

Gets the method used to encode the body of the response. [Edit]

public string ContentEncoding { get; }

Value

A string that describes the method used to encode the body of the response. [Edit]

Exceptions

TypeReason
ObjectDisposedExceptionThe current instance has been disposed. [Edit]

Remarks

This property is read-only.

The HttpWebResponse.ContentEncoding property contains the value of the Content-Encoding header returned with the response.

Note: For detailed information about content encoding, see Section 3.5 of RFC 2616.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0