IPAddressRange 1.6.2.7

This library allows you to parse range of IP address string such as "192.168.0.0/24" and "192.168.0.0/255.255.255.0" and "192.168.0.0-192.168.0.255", and can conatins check. This library supports both IPv4 and IPv6.

There is a newer version of this package available.
See the version list below for details.
Install-Package IPAddressRange -Version 1.6.2.7
dotnet add package IPAddressRange --version 1.6.2.7
<PackageReference Include="IPAddressRange" Version="1.6.2.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IPAddressRange --version 1.6.2.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v.1.6.2 - Support: .NET Standard 1.4 (.NET Core) and UWP
     v.1.6.1 - Fix: Add some parameter checks for throwing ArgumentNullException
     v.1.6.0 - Enhance: Add "ToCidrString()" and "GetprefixLength()" method.
     v.1.5.0 - Enhance: Add constructors variation / Save memory usage.
     v.1.4.0 - Enhance: Add IEnumerable<IPAddress> support.
     v.1.3.0 - Enhance: support both "hyphen (-)" (0x002D) and "dash (–)" (0x2013) at begin-end format.
     v.1.2.1 - Fix: "Parse()" and "TryParse()" methods throw IndexOutOfRangeException when bit mask length is invalid at CIDR format.
     v.1.2.0 - Enhance: Add "Parse()" and "TryParse()" methods. (Instead, the constructor which has one string argument is obsoleted.)
     v.1.1.0 - Enhance: Add "Contains()" method overload version of IPAddressRange argument.
     v.1.0.6 - Fix Package: Repackage with Release build. (1.0.5 was Debug build)
     v.1.0.5 - Fix: IPv4 CIDR range ".../32" causes crush.
     v.1.0.4 - Enhance: support bit mask range not only CIDR range.
     v.1.0.3 - Fix: Can not parse the address which contains hex string.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on IPAddressRange:

Repository Stars
Azure/Azure-Sentinel
Cloud-native SIEM for intelligent security analytics for your entire enterprise.
andruzzzhka/BeatSaberMultiplayer

Version History

Version Downloads Last updated
4.0.0 212,689 8/31/2019
3.2.2 13,945 8/12/2019
3.2.1 97,185 6/26/2019
3.2.0 490,880 5/1/2018
3.1.1 1,007 4/26/2018
3.1.0 28,133 3/22/2018
3.0.0.1 7,340 3/3/2018
3.0.0-beta 488 2/23/2018
2.2.0 4,611 1/29/2018
2.1.1 27,753 11/28/2017
2.1.1-beta 674 11/20/2017
2.1.0.1 52,298 11/16/2017
2.1.0-alpha 696 11/1/2017
2.0.0.4 39,565 9/15/2017
2.0.0.3 51,731 7/4/2017
2.0.0.3-beta 562 5/29/2017
2.0.0-beta 566 5/19/2017
1.6.2.7 23,282 3/8/2017
1.6.2.6-beta 591 3/1/2017
1.6.2.1-beta 775 11/29/2016
1.6.1 55,605 9/27/2016
1.6.0 25,399 5/23/2016
1.5.0 87,076 10/16/2015
1.4.0.1 3,525 8/22/2015
1.4.0 17,335 6/3/2015
1.3.0.1 2,825 4/1/2015
1.3.0 649 4/1/2015
1.2.1 3,022 2/19/2015
1.2.0 11,405 2/5/2015
1.1.0-beta 2,053 11/4/2014
1.0.6 11,631 3/10/2014
1.0.5 1,629 12/9/2013
1.0.4 730 12/9/2013
1.0.3 717 12/9/2013
1.0.2 7,373 5/28/2012
1.0.1 917 5/22/2012
1.0.0 912 5/17/2012
Show less