INetworkHelperServiceIsIPAddressInRange Method

Gets a value indicating whether an IP address is within at least one of the specified ranges.

Namespace:  Dundas.BI.Services
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
bool IsIPAddressInRange(
	IPAddress ipAddress,
	ICollection<Tuple<IPAddress, IPAddress>> ranges
)

Parameters

ipAddress
Type: System.NetIPAddress
The IP address to check.
ranges
Type: System.Collections.GenericICollectionTupleIPAddress, IPAddress
The list of IP address ranges.

Return Value

Type: Boolean
if the specified IP address falls within one or more of the specified ranges; otherwise, .
See Also