HttpRequestBase.Headers Property

 

When overridden in a derived class, gets the collection of HTTP headers that were sent by the client.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual NameValueCollection Headers { get; }

Property Value

Type: System.Collections.Specialized.NameValueCollection

The request headers.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: