Retreiving a list of network computer names using C#
http://www.codeproject.com
list all machine name and ip addresses in LAN
http://www.eggheadcafe.com
Main Topics
Browse All TopicsHi
List of all machine name and ip addresses in LAN using c# Code
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Retreiving a list of network computer names using C#
http://www.codeproject.com
list all machine name and ip addresses in LAN
http://www.eggheadcafe.com
it depends on if you have Active Directory (AD) set up. If you do, you can connect to AD using LDAP and query it from there (AD is basically just a database).
Here is an article that explains how to do this (it's actually pretty easy):
http://www.c-sharpcorner.c
Enumerating Network Resources
http://www.codeproject.com
Something in VB.net
The following code sample shows how to get all IP address on a LAN network
Must have a reference to System.Net.DLL in your reference list.
Imports System.Net
Public Shared Function GetAllIP(Optional ByVal args As String() = Nothing) As Integer
'args in the signature is optional, without it
'the function will simply get the hostname
'of the local machine then go from there
Dim strHostName As New String("")
If args.Length = 0 Then
' Getting Ip address of local machine...
' First get the host name of local machine.
strHostName = DNS.GetHostName()
Console.WriteLine("Local Machine's Host Name: " + strHostName)
Else
strHostName = args(0)
End If
' Then using host name, get the IP address list..
Dim ipEntry As IPHostEntry = DNS.GetHostByName(strHostN
Dim addr As IPAddress() = ipEntry.AddressList
Dim i As Integer = 0
While i < addr.Length
Console.WriteLine("IP Address {0}: {1} ", i, addr(i).ToString())
System.Math.Max(System.Thr
End While
Return 0
End Function
Business Accounts
Answer for Membership
by: coagantusPosted on 2009-04-08 at 23:06:12ID: 24104387
hope this will help u...
m/Forums/e n-US/netfx netcom/thr ead/ 8a5289 83-915b-4d 94-836e-80 4b03e6261f
/code/snip pet1121.ht m
/KB/cs/net work.aspx
m/resource s/15218-Ge t-all-IP- a ddress-LAN -network.a spx
http://social.microsoft.co
http://www.dreamincode.net
http://www.codeproject.com
http://www.dotnetspider.co