HttpRequest.ContentType Property
.NET Framework (current version)
Gets or sets the MIME content type of the incoming request.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.StringA string representing the MIME content type of the incoming request, for example, "text/html". Additional common MIME types include "audio.wav", "image/gif", and "application/pdf".
.NET Framework
Available since 1.1
Available since 1.1
Show: