Click here to Skip to main content
15,885,878 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I want to fetch IP of all system which are there in networks. For Example my office network connected with 5 pc. i want IP of each connected pc
Posted

1 solution

hi,
have a look at following :
GetAdaptersAddresses[^]
GetAdaptersInfo[^]
a similar question here .[^]

hope they help. Otherwise there will be some window socket api which will do this for you.
 
Share this answer
 
Comments
[no name] 27-Mar-14 3:32am    
These do not answer the question.
chandanadhikari 27-Mar-14 3:45am    
as i understand, the asker wanted to programmatically find out the IP addresses of the network connected pcs. So in my solution i just pointed him to the APIs which might come in handy and the documentation has code sample also.
Please correct me if my understanding of question is wrong.
Would have been good had the asker elaborated more as to what he has already done(his approach and last working code) and what problem he is facing now. You might as well edit and improve the question so people are able to help easily .
~thanks.
[no name] 27-Mar-14 3:59am    
"IP addresses of the network connected pcs" - I reiterate my statement your answer has nothing to do with this.

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