HttpServerUtilityWrapper::MachineName Property

 

Gets the server's computer name.

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

public:
property String^ MachineName {
	virtual String^ get() override;
}

Property Value

Type: System::String^

The name of the server computer.

Exception Condition
HttpException

The computer name cannot be found.

.NET Framework
Available since 3.5
Return to top
Show: