ipnetwork
ipnetwork copied to clipboard
Return a list of IP Address given a start and end
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:
- allow the user to enter CIDR notation which your library will handle giving me all the ip address for a CIDR range
- 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.