Click or drag to resize
BannedIPInfoProviderIsAllowedInternal Method
Returns true if client IP address is allowed to access the site, false if it is banned.

Namespace: CMS.Protection
Assembly: CMS.Protection (in CMS.Protection.dll) Version: 12.0.0
Syntax
C#
protected virtual bool IsAllowedInternal(
	string ipAddress,
	string siteName,
	BanControlEnum banType
)

Parameters

ipAddress
Type: SystemString
Check this IP address
siteName
Type: SystemString
Ban settings of this site will be used
banType
Type: CMS.ProtectionBanControlEnum
Which ban type should be checked

Return Value

Type: Boolean
See Also