• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 917
  • Last Modified:

WMI Get Network Computer Names?

I've used WMI to find many local computer info, but never attempted searching Network information. I've look all ove the Internet and cannot find a single good article. Help...

Q. Can WMI find network computer Names and corresponding IP's ???



0
pointeman
Asked:
pointeman
  • 2
2 Solutions
 
Priest04Commented:
I didnt answered for the IP addresses, so here it is: there is a Ping class in System.Net.NetworkInformation

http://msdn.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx

that will allow you to resolve IP address by sending ICMP messages.

And here is another approach, not using WMI, but Netxxx API's

http://www.codeproject.com/KB/IP/ListNetworkComputers.aspx
0
 
pointemanAuthor Commented:
I used both solutions in my project, thanks
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now