Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

HttpWorkerRequest.GetKnownRequestHeaderIndex Method

Returns the index number of the specified HTTP request header.

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

public static int GetKnownRequestHeaderIndex(
	string header
)

Parameters

header
Type: System.String

The name of the header.

Return Value

Type: System.Int32
The index number of the HTTP request header specified in the header parameter.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft