Mono Class Library: Mono.Unix.UnixEnvironment Overview | MembersMono.Unix.UnixEnvironment.MachineName Property |
Gets or sets the machine name of the machine the process is running on. [Edit]
|
A string containing the machine name. [Edit]
Type Reason InvalidOperationException The caller tried to set the host name and was not the super-user. [Mono.Unix.Native.Errno.EPERM] [Edit]
Only the super-user can change the machine name. [Edit]
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0