Skip to content

Add CIDR Block logic to System.Net #36428

@scottgorlick

Description

@scottgorlick

leveraging the base IPAddress and IPAddressParser, I would like to introduce CIDR block data structures and extension methods for behaviors. I have implemented this logic in .NET and want to port it to dotnet core. I feel the timing of this addition fits with the upcoming 5.0 release milestone.

the structures I propose are:
IPNumeric / IPNumericV4 / IPNumericV6 - data structures. These structures make the logic in CidrBlock much simpler. This is the "arithmetic" and CidrBlock is the Geometry.

CidrBlock - IP Address logic useful in handling CIDR notation concepts

CidrBlockExtensions - Set logic for CidrBlocks, such as IsAdjacent, Contains, Overlaps

Metadata

Metadata

Assignees

No one assigned

    Labels

    api-suggestionEarly API idea and discussion, it is NOT ready for implementationarea-System.Net

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions