Determining the computer's domain

  • Thread starter Thread starter JZ
  • Start date Start date
J

JZ

Hi,

At run-time, I need to determine the domain on which the server is currently
joined. System.Environment doesn't provide me with the information that I
need through the UserDomainName property because that is the network domain
name associated with the current user. I need to know the domain (if the
server is currently logged on) like "mydomain.com".

Thank you in advance.

JZ
 
Back
Top