Reputation: 30041
In a command prompt I am able to get the domain logon server by typing:
echo %logonserver%
How can I get this same result in C#?
Upvotes: 1
Views: 4720
Reputation: 97821
System.Environment.GetEnvironmentVariable("logonserver")
Upvotes: 6