Re: Computer's Workgroup or Domain Name
- From: "John Timney \( MVP \)" <timneyj@xxxxxxxxxxxxx>
- Date: Mon, 10 Apr 2006 21:43:02 +0100
try here
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4560&lngWId=10
--
Regards
John Timney
Microsoft MVP
"Spyder" <Spyder@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:426620BC-BB81-4F2C-A976-34FE9107342E@xxxxxxxxxxxxxxxx
When you go to "MyComputer" and get properties and select "Computer Name",
you get the Domain or Workgroup a computer belongs to.
I have looked thru MSDN library, the Internet, the Registry and in all
files
on my computer and cannot find how to retrieve this information in VB.Net
2005.
This information is essential for our system implementation.
I have tried:
NetworkInformation.IPGlobalProperties.GetIPGlobalProperties
but it does not get the info for a 'workgroup', only a 'domain'.
I have also tried:
SystemInformation.UserDomainName
but still get nothing but the computer name if it is in a workgroup.
--
Steve
Microsoft Certified Partner
.
- Prev by Date: Re: Accessing .NET assemblies from classic ASP/VBScript?
- Next by Date: Re: DotNet WinForm Development Uptake
- Previous by thread: Re: Accessing .NET assemblies from classic ASP/VBScript?
- Next by thread: Re: Computer's Workgroup or Domain Name
- Index(es):
Relevant Pages
|