ipaddressrange
ipaddressrange copied to clipboard
.NET Class Library for range of IP address, both IPv4 and IPv6.
System.IO.FileNotFoundException: Could not load file or assembly 'IPAddressRange, Version=6.0.0.0, Culture=neutral, PublicKeyToken=578e3c3d17e7c751'. My project uses asp netcore mvc I install the package via nuget,how can i solve this problem environment net6.0...
Greetings, Calculating the Cidr subnets from an IP range doesn't seem to work. Error: 192.168.0.0-192.168.0.254 is not a CIDR Subnet. // Calculates Cidr subnets var rangeI = IPAddressRange.Parse("192.168.0.0-192.168.0.254"); rangeI.ToCidrString(); //...
First of all, thanks for this great library. I haven't had a chance to use it but it looks great and covers many use-cases that I'm looking for! I have...
Thank you for writing this and sharing it. We are interested in using it in a commercial setting. However, the project doesn't seem to include a license. Can we use...
I just want to thank you for creating and maintaining this library 🙏. I've built and released an ASP.NET Core library for authenticating requests based on IP using your library:...
``` var range = IPAddressRange.Parse("192.168.1.100/255.255.255.0"); IPStartBox.Text = range.Begin.ToString(); // returns 192.168.1.0 IPEndBox.Text = range.End.ToString(); // 192.168.1.255 ``` I need to return first and last usable IP, which should be 192.168.1.1...
What is the recommended SQL Server data type for use with this to store IP addresses?
[NetTools.Bits](https://github.com/jsakamoto/ipaddressrange/blob/master/IPAddressRange/Bits.cs) static class is nice example of LINQ usage, but it's really slow. Possible improvement ideas: 1. You can get like 33% less time spent on this when you use...
Hi everyone, and contributors of this library: Few days ago, @zijianhuang said "`TryParse` static method **should not** catch all types of exception." with pull request #23 that contains commit:[e3a7917](https://github.com/jsakamoto/ipaddressrange/pull/23/commits/e3a79171dc9b87f3829df689ef873569a4bfcb7a#diff-84e5184cbe9467997f4166539b02496eR178). His...
Hi, thanks for the great lib, the ONLY for the ranges!!! Really really useful. The IP ranges mught be used on some really hot paths in the app, so, did...