Click here to Skip to main content
15,030,954 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to find ip address of "REMOTE" computer by its computer name
Abhinav S 12-Sep-10 3:16am
You are asking similar questions again and again!

You can do a simple DNS lookup using System.Net.Dns.GetHostEntry, passing the computer name. That contains a list of IP addresses.
See here[^].
You can Try with WMI. It will be easier to access this kind of information using WMI. I have created a small utility using WMI. That may help you also to learn few more things
Net Spy: Your Network Spy That Monitor Your System In Network And Generate Log For Any Changes[^]

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