NetworkHelperCidrToIPRange Method

Parses the specified IP address range in CIDR notation and returns a tuple containing the (inclusive) start and end IP addresses of the range.

Namespace:  Dundas.BI.Utility
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public static Tuple<IPAddress, IPAddress> CidrToIPRange(
	string cidr
)

Parameters

cidr
Type: SystemString
The IP address range in CIDR notation.

Return Value

Type: TupleIPAddress, IPAddress
The starting and ending IP addresses of the range.
Exceptions
ExceptionCondition
ArgumentExceptioncidr is or empty.
FormatExceptionAn IP address could not be parsed from cidr.
See Also