HttpWebRequest.Accept Property

Gets or sets the value of the HTTP Accept header.

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

Syntax

public string Accept { get; set; }

Property Value

The value of the Accept HTTP header. The default value is null.

Version Information

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

See Also

Reference

HttpWebRequest Class
HttpWebRequest Members
System.Net Namespace