Share via


HttpListenerRequest.ContentType Property

Gets the MIME type of the body data included in the request.

Namespace: System.Net
Assembly: System (in system.dll)

Syntax

public string ContentType { get; }

Property Value

A String that contains the text of the request's Content-Type header.

Version Information

Available in the .NET Micro Framework versions 4.0 and 4.1.

See Also

Reference

HttpListenerRequest Class
HttpListenerRequest Members
System.Net Namespace