HttpServerUtility.MachineName Propiedad

Definición

Obtiene el nombre del equipo del servidor.

public:
 property System::String ^ MachineName { System::String ^ get(); };
public string MachineName { get; }
member this.MachineName : string
Public ReadOnly Property MachineName As String

Valor de propiedad

Nombre del equipo local.

Excepciones

No se encuentra el nombre del equipo.

Ejemplos

En el ejemplo siguiente se almacena el nombre del equipo del servidor como una variable de cadena.

String ThisMachine;
ThisMachine = Server.MachineName;

Dim ThisMachine As String
ThisMachine = Server.MachineName
   

Se aplica a