This documentation is archived and is not being maintained.

HttpWorkerRequest.GetKnownRequestHeader Method

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

[Visual Basic]
Public Overridable Function GetKnownRequestHeader( _
   ByVal index As Integer _
) As String
public virtual string GetKnownRequestHeader(
 int index
public: virtual String* GetKnownRequestHeader(
 int index
public function GetKnownRequestHeader(
   index : int
) : String;


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

Return Value

The HTTP request header.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace