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
public virtual string GetServerName();
public: virtual String* GetServerName();
public function GetServerName() : String;

Return Value

The name of the local server.


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

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace