Mono Class Library: Mono.Posix.Syscall Overview | MembersMono.Posix.Syscall.GetHostName Method |
Retrieves the hostname. [Edit]
|
a string [Edit]
This member is obsolete. Please use Mono.Unix.UnixEnvironment.MachineName instead.
Either GetHostName() should be removed, since gethostname() also exists, or the entire library should be CamelCased per .NET standard.
[Edit]
Namespace: Mono.Posix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0