HttpServerUtility::MachineName Property
.NET Framework (current version)
Gets the server's computer name.
Assembly: System.Web (in System.Web.dll)
public: property String^ MachineName { [AspNetHostingPermissionAttribute(SecurityAction::Demand, Level = AspNetHostingPermissionLevel::Medium)] String^ get(); }
| Exception | Condition |
|---|---|
| HttpException | The computer name cannot be found. |
.NET Framework
Available since 1.1
Available since 1.1
Show: