1

How do I get a list of all the IP addresses (and possibly computer names?) in use on the same subnet as my machine using C#?

svick
  • 225,720
  • 49
  • 378
  • 501
vrushali
  • 59
  • 3
  • 6
  • duplicate http://stackoverflow.com/questions/105676/get-a-list-of-all-computers-on-a-network-w-o-dns – anishMarokey May 06 '11 at 11:17
  • What do you mean by 'all computers'? You could try broadcast-pinging the entire subnet, but that would only give you computers that respond to ping.. you could try connecting to them via windows shares.. – qdot May 06 '11 at 11:17

1 Answers1

1

Have a look at

http://www.codeproject.com/KB/IP/ListNetworkComputers.aspx

anishMarokey
  • 11,041
  • 2
  • 32
  • 46
FIre Panda
  • 6,351
  • 2
  • 24
  • 37