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

System.Net.HttpWebRequest.MediaType Property

Gets or sets the media type of the current request. [Edit]

public string MediaType { set; get; }

Value

A string that identifies the media type of the current request. The default value is null. [Edit]

Remarks

Note: The value of this property affects the HttpWebResponse.CharacterSet property. When this property is set in the current instance, the corresponding media type is chosen from the list of character sets returned in the response HTTP Content-type header.
[Edit]

Requirements

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