Export (0) Print
Expand All

HttpListenerResponse.ContentType Property

Gets or sets the MIME type of the returned content.

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

public string ContentType { get; set; }

Property Value

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

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

Community Additions

© 2015 Microsoft