Thursday, October 30, 2008

How to get the network domain name associated with the current user using C# (.NET)

How to get the network domain name associated with the current user using C# (.NET)

Console.WriteLine("Domain Name := " + Environment.UserDomainName );

Get Domain Name Function in C#, UserDomainName Function in C#, .NET Get User’s Domain Name, GetDomainName in .NET

1 comment:

  1. How get domain name by IP in Network if User not in domain?

    ReplyDelete