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
)
Function IsIPAddressInRange (
ipAddress As IPAddress,
ranges As ICollection(Of Tuple(Of IPAddress, IPAddress))
) As Boolean
bool IsIPAddressInRange(
IPAddress^ ipAddress,
ICollection<Tuple<IPAddress^, IPAddress^>^>^ ranges
)
abstract IsIPAddressInRange :
ipAddress : IPAddress *
ranges : ICollection<Tuple<IPAddress, IPAddress>> -> bool
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