IPAddressRange 2.1.1

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.

Install-Package IPAddressRange -Version 2.1.1
dotnet add package IPAddressRange --version 2.1.1
paket add IPAddressRange --version 2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v.2.1.1 - Fix: Error if parsing IP address with scope id in the end.
     v.2.1.0 - Enhance: Add "IsEqual" and "Decrement" methods to "Bits" utility class.
     v.2.0.0 - [BREAKING CHANGE] Truncate .NET 4.0 support.
             - Enhance: can serialize/deserialize json text by JSON.NET
     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.

  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.4

  • UAP 0.0

    • No dependencies.

Version History

Version Downloads Last updated
2.1.1 (current version) 283 11/28/2017
2.1.1-beta 32 11/20/2017
2.1.0.1 300 11/16/2017
2.1.0-alpha 46 11/1/2017
2.0.0.4 1,725 9/15/2017
2.0.0.3 5,379 7/4/2017
2.0.0.3-beta 86 5/29/2017
2.0.0-beta 96 5/19/2017
1.6.2.7 6,944 3/8/2017
1.6.2.6-beta 128 3/1/2017
1.6.2.1-beta 231 11/29/2016
1.6.1 11,631 9/27/2016
1.6.0 14,574 5/23/2016
1.5.0 23,229 10/16/2015
1.4.0.1 2,331 8/22/2015
1.4.0 7,668 6/3/2015
1.3.0.1 2,169 4/1/2015
1.3.0 166 4/1/2015
1.2.1 913 2/19/2015
1.2.0 2,212 2/5/2015
1.1.0-beta 1,581 11/4/2014
1.0.6 6,077 3/10/2014
1.0.5 1,026 12/9/2013
1.0.4 206 12/9/2013
1.0.3 209 12/9/2013
1.0.2 5,062 5/28/2012
1.0.1 277 5/22/2012
1.0.0 239 5/17/2012