Ewart,
To find the domain name --
MessageBox.Show(Environment.UserDomainName.ToStrin g)
To find the machine name --
MessageBox.Show(Environment.MachineName.ToString)
Let me know if this works.
Cheers,
Gary
"Ewart MacLucas" <ew************@aut.ac.nz> wrote in message
news:uG**************@tk2msftngp13.phx.gbl...
Does anybody know how to find the workgroup name (or domainname) of the
local PC. Is there a framework class for it?
(preferably a solution not involving active directory calls)
Thanks,
Ewart.