Closed gaazkam closed 6 years ago
I'm sorry that the comments is invalid.
"192.258.0.0" is invalid IPv4 address, because a part of IPv4 address which is separated by dot(.) is representation of 8 bit value.
Therefore, the value 258 is invalid. (8 bit value can represent from 0 to 255.)
I fixed those comments just now.
Thank you for your reporting! 👍
Installed IPAddressRange v. 3.2.0 via NuGet
In the comments of your source file: https://github.com/jsakamoto/ipaddressrange/blob/master/IPAddressRange/IPAddressRange.cs
We see such a comment:
But Your lib fails to parse this very example string!
This throws!
System.FormatException
AndTryParse
returns false