SystemInfo HostName Property Apache log4net™ SDK Documentation
Get the host name or machine name for the current machine

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public static string HostName { get; }

Property Value

Type: OnlineString
The hostname or machine name
Remarks

Get the host name or machine name for the current machine

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

See Also