Subscriber portal
Gets the application machine name.
public string MachineName { get; }
The name of the machine where the application is running.
The following code example shows how to obtain the machine name.
public string GetApplicationMachineName() { // Get the name of the application machine name. return (string.Format( "Application machine name: {0}", ApplicationInformation.MachineName)); }
WebApplicationInformation ClassSystem.Web.Management Namespace