Mono Class Library: System.Environment Overview | Members

System.Environment.UserDomainName Property

Returns the domain name of the currently user.

public static string UserDomainName { get; }

Value

Domain name of the current user.

Remarks

This returns the same value as Environment.MachineName on mono.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0