Problem determining domain/workgroup name

  • Thread starter Richard L Rosenheim
  • 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
 
G

Guest

In code or on the machine?

On the machine:

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

Richard L Rosenheim

In code.


Crouchie1998 said:
In code or on the machine?

On the machine:

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top