ipnetwork icon indicating copy to clipboard operation
ipnetwork copied to clipboard

Return a list of IP Address given a start and end

Open Steve0212a opened this issue 4 years ago • 0 comments

I am writing an application that will allow end users to scan a network for devices. We have two requirements on how do to this:

  1. allow the user to enter CIDR notation which your library will handle giving me all the ip address for a CIDR range
  2. allow the user to enter a start and end ip address which I do not think is covered in your library. In my case, the user would enter to scan from 192.168.1.45 - 192.168.1.65 or they could enter to scan from 192.168.1.45 - 192.168.2.65.

I did find a free helper class that can do this (https://newbedev.com/c-enumerate-ip-addresses-in-a-range), but it would be nice if it were a one stop shop in your library.

Did I miss it - can your library do this? If not, could it be added?

Thanks.

Steve0212a avatar Nov 04 '21 19:11 Steve0212a