SystemInfoHostName 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: 2.0.6.0-.NET 4.0
Syntax

public static string HostName { get; }

Property Value

Type: String
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

Reference