Check if a new rule would block the existing IP address

Namespace: DotNetNuke.Entities.Host
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public bool IsAllowableDeny(
	string currentIP,
	IPFilterInfo ipFilter
)
Visual Basic
Public Function IsAllowableDeny ( 
	currentIP As String,
	ipFilter As IPFilterInfo
) As Boolean

Parameters

currentIP
Type: System..::..String
current IP address
ipFilter
Type: DotNetNuke.Entities.Host..::..IPFilterInfo
new propose rule

Return Value

true if rule would not block current IP, false otherwise

Implements

IIPFilterController..::..IsAllowableDeny(String, IPFilterInfo)

See Also