Determines whether ip is in range.
Namespace: DotNetNuke.Common.UtilsAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static bool IsIPInRange( string currentIP, string startIP, string subnetmask ) |
Visual Basic |
---|
Public Shared Function IsIPInRange ( currentIP As String, startIP As String, subnetmask As String ) As Boolean |
Parameters
- currentIP
- Type: System..::..String
The current ip.
- startIP
- Type: System..::..String
The start ip.
- subnetmask
- Type: System..::..String
The subnetmask.