Open this page in the API Guide

NetworkHelper.CidrToIPRange 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 (25.1.0.1000)
Syntax
public static Tuple<IPAddress, IPAddress> CidrToIPRange(
	string cidr
)

Parameters

cidr
Type: System.String
The IP address range in CIDR notation.

Return Value

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