Questions tagged [arcus]

Arcus is a C# manipulation library for calculating, parsing, formatting, converting, and comparing both IPv4 and IPv6 addresses and subnets. It accounts for 128-bit numbers on 32-bit platforms.

Arcus is an open source library. The developers have done their best to provide comprehensive documentation at https://arcus.readthedocs.io/.

1 questions
1
vote
1 answer

In the Arcus library how can a single IP address create a Subnet object?

In Arcus I can create a Subnet with a single IP Address: var ipAddress = IPAddress.Parse("192.168.1.1"); var subnet = new Subnet(ipAddress); Since subnets are not arbitrary ranges of IP addresses how does this work?
ahsteele
  • 26,243
  • 28
  • 134
  • 248