Click here to Skip to main content
15,880,956 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
display all remote computer in lan
Posted
Comments
glennPattonWork3 4-Feb-13 6:06am    
LAN or Ian?
bbirajdar 4-Feb-13 7:11am    
Okay.. All the computers in my LAN are on display.. What next ?

This does more than you want: Retrieving IP and MAC addresses for a LAN[^] - but if you just use the IP address bit, you can get the computer name from that with Dns.GetHostEntry[^] and the HostName property.
 
Share this answer
 
You could take a look at Sacha's article at Retreiving a list of network computer names using C#[^].

A discussion on msdn[^] provides a few solutions as well.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900