How do I detect if my program runs in an Active Directory environment?
I\'m using C# and .Net 2.0
I found something that works:
using System.Net.NetworkInformation;
IPGlobalProperties.GetIPGlobalProperties().DomainName;
Works with a local user and a domain user.