NetworkHelperIPRangeToCidr Method  | 
 Converts an IP address range to CIDR notation.
 
    Namespace: 
   Dundas.BI.Utility
    Assembly:
   Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
Syntaxpublic static IReadOnlyCollection<(IPAddress StartIP, byte NumBits)> IPRangeToCidr(
	IPAddress startIP,
	IPAddress endIP
)
Public Shared Function IPRangeToCidr ( 
	startIP As IPAddress,
	endIP As IPAddress
) As IReadOnlyCollection(Of (StartIP As IPAddress, NumBits As Byte))
public:
static IReadOnlyCollection<ValueTuple<IPAddress^, unsigned char>>^ IPRangeToCidr(
	IPAddress^ startIP, 
	IPAddress^ endIP
)
static member IPRangeToCidr : 
        startIP : IPAddress * 
        endIP : IPAddress -> IReadOnlyCollection<ValueTuple<IPAddress, byte>> 
Parameters
- startIP
 - Type: System.NetIPAddress
The starting value of the IP address range. - endIP
 - Type: System.NetIPAddress
The ending value of the IP address range. 
Return Value
Type: 
IReadOnlyCollectionValueTupleIPAddress, 
ByteA collection of IP addresses and the corresponding number of bits to consider, collectively representing the specified IP address range.
Exceptions
See Also