INetworkHelperServiceIsIPAddressInRange Method |
Gets a value indicating whether an IP address is within at least one of the specified ranges.
Namespace: Dundas.BI.ServicesAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxbool 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 IPAddress
- The IP address to check.
- ranges ICollectionTupleIPAddress, IPAddress
- The list of IP address ranges.
Return Value
Boolean if the specified IP address falls within one or more of the specified ranges;
otherwise,
.
See Also