RE: How to get the names of the availalbe computers on your LAN/Workgr



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>
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
names
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


.



Relevant Pages

  • pyzeroconf unicast question
    ... I have been using pyzeroconf to register and discover services on a local network using the default multicast support. ...
    (comp.lang.python)
  • Re: [opensuse] how many folks running suse 11 are heavily into IPv6?
    ... more expensive router that will support both protocols and be smart to know ... that only local network is IPv6. ... and thus support IPv6. ...
    (SuSE)
  • Check your protocols
    ... >files over the local network. ... But downloading file or surfing on ... >experience the same slow performance. ... >This does not happen in other computers. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Continuous internet activity
    ... Other computers on the network are not on. ... The status of the Internet activity monitor shows my computer as ... For the local network monitor the status shows packets are being sent ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Problem seeing network has something to do with AntiVirus Software
    ... Do not use more than One Antivirus or and Firewall at the same time. ... All computers can see the local network ... > uninstalling the virus protection software that came with my computer. ...
    (microsoft.public.windowsxp.network_web)