A Sandcastle Documented Class Library

# INetworkHelperService IsIPAddressInRange 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    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.Net
  IPAddress
  The IP address to check.
ranges
  Type: System.Collections.Generic
  ICollection
  Tuple
  IPAddress, 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

#### Reference

INetworkHelperService Interface
Dundas.BI.Services Namespace