Tags: lduchosal/ipnetwork
Tags
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
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