Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: lduchosal/ipnetwork

Tags

3.4

Toggle 3.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Feat: parserange (#364)

IP Range to CIDR Converter
A C# utility for converting IP address ranges into optimal CIDR blocks, supporting both IPv4 and IPv6 addresses.
Methods
ParseRange(string range)
Parses an IP range string and returns the optimal CIDR blocks. Throws exceptions on invalid input.
Parameters:

range (string): IP range in format "startIP-endIP" (e.g., "192.168.1.45-192.168.1.65")

Returns: IEnumerable<IPNetwork2> - Collection of optimal CIDR blocks
Throws: ArgumentException, FormatException for invalid input
TryParseRange(string range, out IEnumerable<IPNetwork2> result)
Attempts to parse an IP range string. Returns success/failure without throwing exceptions.
Parameters:

range (string): IP range in format "startIP-endIP"
result (out): Collection of CIDR blocks if successful, null if failed

Returns: bool - True if parsing succeeded, false otherwise

* Feat: parserange
* Chore: Test units
* Chore: upgrade version
* Chore: documentation
* Fix: sonarqube issues
* Fix: formatting
* Fix: 100% coverage

3.3

Toggle 3.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Chore: cleanup, breaking changes, enum, tryparse, exception, static L…

…istIPAddress (#363)

* Chore: huge cleanup, enum, tryparse, exception, static ListIPAddress, important changes : IPNetwork comparison and sort order have change to reflect expected behavoir
* Fix: obsolete enums
* Fix: network sorting and member comparison
* Chore: upgrade version number 3.3

3.2.791

Toggle 3.2.791's commit message
Release version 3.2.791

3.2

Toggle 3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Feat: operators + and - (#359)

* Feat: operators + and -, Tests units, documentation

2.2.0

Toggle 2.2.0's commit message
bumping appveyor version

2.1.2

Toggle 2.1.2's commit message
Travis fix

2.1.1

Toggle 2.1.1's commit message
net40, net45, net46, signed assemblies

v2.1.0

Toggle v2.1.0's commit message
travis fix