This documentation is archived and is not being maintained.

HttpWorkerRequest.GetServerName Method

When overridden in a derived class, returns the name of the local server.

[Visual Basic]
Public Overridable Function GetServerName() As String
[C#]
public virtual string GetServerName();
[C++]
public: virtual String* GetServerName();
[JScript]
public function GetServerName() : String;

Return Value

The name of the local server.

Requirements

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

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace

Show: