HttpWebRequest::MediaType Property
.NET Framework (current version)
Gets or sets the media type of the request.
Assembly: System (in System.dll)
The value of the MediaType property affects the CharacterSet property. When you set the MediaType in the request, the corresponding media type is chosen from the list of character sets returned in the response Content-type HTTP header.
.NET Framework
Available since 1.1
Available since 1.1
Show: