HttpWorkerRequest.GetKnownRequestHeader Method (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: