HttpWorkerRequest.GetKnownRequestHeader Method (Int32)

 

Returns the standard HTTP request header that corresponds to the specified index.

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

public virtual string GetKnownRequestHeader(
	int index
)

Parameters

index
Type: System.Int32

The index of the header. For example, the HeaderAllow field.

Return Value

Type: System.String

The HTTP request header.

.NET Framework
Available since 1.1
Return to top
Show: