Share via


HttpListenerRequest.AcceptTypes Property

Gets the MIME types accepted by the client.

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

Syntax

public string [] AcceptTypes { get; }

Property Value

A String array that contains the type names specified in the request's Accept header, or a null reference if the client request did not include an Accept 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