This documentation is archived and is not being maintained.

HttpWorkerRequest.GetServerVariable Method

Returns a single server variable from a dictionary of server variables associated with the request.

[Visual Basic]
Public Overridable Function GetServerVariable( _
   ByVal name As String _
) As String
public virtual string GetServerVariable(
 string name
public: virtual String* GetServerVariable(
 String* name
public function GetServerVariable(
   name : String
) : String;


The name of the requested server variable.

Return Value

The requested server variable.


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

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace