Find all IP addresses in a network including devices. RRS feed

  • Question

  • Hi,

    I need to find all the ip addresses in a network including the devices. How to do this using .NET?

    I tried to use
    NetworkInterface.GetAllNetworkInterfaces() to get the subnet mask and the do the IP address calculation. and ping to confirm if the IP exists.

    But this gives me the subnet mask for my local computer and few others where the subnet mask value is

    Can some one point me the right approach?

    Many thanks in advance.


    Tuesday, May 21, 2013 5:09 AM


All replies