Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

SystemInfo.HostName Property

Get the host name or machine name for the current machine

[Visual�Basic]
Public�Shared�ReadOnly�Property�HostName�As�String
[C#]
public�static�string�HostName�{get;}

Property Value

The hostname or machine name

Remarks

Get the host name or machine name for the current machine

The host name (GetHostName) or the machine name (Environment.MachineName) for the current machine, or if neither of these are available then NOT AVAILABLE is returned.

See Also

SystemInfo Class | log4net.Util Namespace