Mono Class Library: System.Web.HttpResponse Overview | Members

System.Web.HttpResponse.ContentEncoding Property

The encoding used for writing the response.

public System.Text.Encoding ContentEncoding { set; get; }

Value

a System.Text.Encoding

Remarks

The encoding can be changed any number of times during the request processing, but the value sent on the Content-Type HTTP header is the value set at the time that the headers are sent back (the first time the contents are flushed).

Requirements

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