Problem determining domain/workgroup name

  • Thread starter Thread starter Richard L Rosenheim
  • Start date Start date
R

Richard L Rosenheim

On my development machine, it works -- SystemInformation.UserDomainName and
System.Environment.UserDomainName both returns the domain name. But, on my
test machine, these methods are returning the computer name.

Both systems are running Framework 1.1 w/SP 1 installed. The code was
compiled using VS 2003 (VB.NET).

Is the problem that the test machine belongs to a workgroup, and not a
domain? If so, how to determine the workgroup name?

Richard Rosenheim
 
In code or on the machine?

On the machine:

Right-click my computer, click properties & then the network identification
tab
 
In code.


Crouchie1998 said:
In code or on the machine?

On the machine:

Right-click my computer, click properties & then the network identification
tab
 
Back
Top