Listing IP addresses of network computers

Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Oct 2008
Posts: 52
Reputation: Bhoot is an unknown quantity at this point 
Solved Threads: 1
Bhoot's Avatar
Bhoot Bhoot is offline Offline
Junior Poster in Training

Listing IP addresses of network computers

 
0
  #1
May 8th, 2009
We are developing a client monitoring network application.
We would require IP addresses of all the computers in the network.

how do we retrieve these IP addresses ?
I have already seen some code that makes use of unmanaged C++ or WinAPI.
But I would prefer C# code (ofcourse). I went through some System.Net classes like Dns; but could not crack a way through.

Could anyone provide me some hints to my question?
Bhoot
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 186
Reputation: jbisono is an unknown quantity at this point 
Solved Threads: 24
jbisono's Avatar
jbisono jbisono is offline Offline
Junior Poster

Re: Listing IP addresses of network computers

 
0
  #2
May 8th, 2009
i do this to get the current computer maybe look for something like this.
Dim IPAddress as String = Request.ServerVariables.Get("REMOTE_ADDR")
that is vb, c# is almost the same.
If your already resolved your issue, flag it as solved.
José Bisonó
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1,955
Reputation: ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of 
Solved Threads: 282
ddanbe's Avatar
ddanbe ddanbe is offline Offline
Posting Virtuoso

Re: Listing IP addresses of network computers

 
0
  #3
May 8th, 2009
Maybe this snippet might get you some ideas:
http://www.daniweb.com/code/snippet982.html
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC