WMI Get Network Computer Names?

Posted on 2008-11-14
Last Modified: 2012-05-05
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 ???

Question by:pointeman
    LVL 18

    Accepted Solution

    LVL 18

    Assisted Solution

    I didnt answered for the IP addresses, so here it is: there is a Ping class in System.Net.NetworkInformation

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

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

    Author Closing Comment

    I used both solutions in my project, thanks

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Article by: Ivo
    Anonymous Types in C# by Ivo Stoykov Anonymous Types are useful when  we do not need to follow usual work-flow -- creating object of some type, assign some read-only values and then doing something with them. Instead we can encapsulate this read…
    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now