RE: How to get the names of the availalbe computers on your LAN/Workgr
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Thu, 03 Jan 2008 09:24:20 GMT
Hi Fernik,
As for looping network resources in local network, there are several means
such as RAW network API, wmi or ADSI:
here are some web threads discussing on this, you can have look to see
whether they help some:
API approach:
#list of computers on local network
http://www.csharpfriends.com/Forums/ShowPost.aspx?PostID=29925
#Using Network Functions in Visual C#.NET (Part II - Group Functions)
http://www.csharphelp.com/archives2/archive440.html
ADSI approach:
#Inventory of Domain Users and Computers Using ADSI
http://www.serverwatch.com/tutorials/article.php/1476791
#List of computers on local network
http://www.csharpfriends.com/Forums/ShowPost.aspx?PostID=29925
WMI:
http://www.siccolo.com/Articles/CodeProject/Build_Local_Network_Browser/Buil
d_Local_Network_Browser.html
http://www.activexperts.com/activmonitor/windowsmanagement/wmi/samples/
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: =?Utf-8?B?RmVybmlr?= <fernik@xxxxxxxxxxxxxxxx>names
Subject: How to get the names of the availalbe computers on your LAN/Workgr
Date: Wed, 2 Jan 2008 18:12:01 -0800
Hi, I need to get a list of the computers in my WorkGroup LAN, with its
in a similar way you get the available Drives from a PC with
DriveInfo.GetDrives(). Is there a managed class that provide this, if not,
coudl you provide me some guiadance with unmanaged APIs or wrappers.
--
Fernik
http://www.fernik.com.ar
.
- Follow-Ups:
- Prev by Date: Re: Error: could not load file or assembly or one of its dependencies
- Next by Date: Version upgrade rules?
- Previous by thread: Re: How to get the names of the availalbe computers on your LAN/Workgr
- Next by thread: RE: How to get the names of the availalbe computers on your LAN/Wo
- Index(es):
Relevant Pages
|