469,898 Members | 2,056 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

Get domain or workgroup info in windows 2000

Hi,
How can we get info as to if a terminal is on a workgroup or a domain and
the name of the domain\workgroup in windows 2000 professional through code
thanks in advance
Manoj
Nov 17 '05 #1
1 1421
Hi,

If your app runs on the machine you can use:

System.Environment.GetEnvironmentVariable("USERDOM AIN");

cheers
Salva
"Manoj" wrote:
Hi,
How can we get info as to if a terminal is on a workgroup or a domain and
the name of the domain\workgroup in windows 2000 professional through code
thanks in advance
Manoj

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by musosdev | last post: by
6 posts views Thread by Spyder | last post: by
8 posts views Thread by None | last post: by
9 posts views Thread by =?Utf-8?B?RGVubmlz?= | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.