HttpListenerResponse.ContentType Property

Gets or sets the MIME type of the returned content.

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

Syntax

public string ContentType { get; set; }

Property Value

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

Version Information

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

See Also

Reference

HttpListenerResponse Class
HttpListenerResponse Members
System.Net Namespace