INetworkHelperServiceParseIPAddressElements Method

Parses a comma-separated list of IP addresses and/or IP address ranges.

Namespace:  Dundas.BI.Services
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
IList<Tuple<IPAddress, IPAddress>> ParseIPAddressElements(
	string text
)

Parameters

text
Type: SystemString
The list of IP addresses and/or IP address ranges.

Return Value

Type: IListTupleIPAddress, IPAddress
A list of tuples representing the start/end of each IP address range.
Exceptions
ExceptionCondition
FormatExceptionThere was an error parsing one or more elements.
Remarks
The format of text is a comma-separated string containing any combination of IP addresses and/or IP address ranges. An IP address range may be specified using CIDR notation (e.g. 10.10.10.0/24) or as two addresses separated by a hyphen (e.g. 10.10.10.0-10.10.10.255).
See Also