Class IPFilterController
Inheritance
IPFilterController
Assembly: DotNetNuke.dll
Syntax
public class IPFilterController : ComponentBase<IIPFilterController, IPFilterController>, IIPFilterController
Methods
AddIPFilter(IPFilterInfo)
Declaration
public int AddIPFilter(IPFilterInfo ipFilter)
Parameters
Returns
CanIPStillAccess(string, IList<IPFilterInfo>)
Declaration
public bool CanIPStillAccess(string myip, IList<IPFilterInfo> filterList)
Parameters
Returns
DeleteIPFilter(IPFilterInfo)
Declaration
public void DeleteIPFilter(IPFilterInfo ipFilter)
Parameters
GetIPFilter(int)
Declaration
public IPFilterInfo GetIPFilter(int ipFilter)
Parameters
Type |
Name |
Description |
int |
ipFilter |
|
Returns
IsAllowableDeny(string, IPFilterInfo)
Declaration
public bool IsAllowableDeny(string currentIP, IPFilterInfo ipFilter)
Parameters
Returns
IsIPAddressBanned(string)
Declaration
[Obsolete("Deprecated in DotNetNuke 7.1.0. Please use IsIPBanned instead to return the value and apply your own logic. Scheduled for removal in v10.0.0.")]
public void IsIPAddressBanned(string ipAddress)
Parameters
Type |
Name |
Description |
string |
ipAddress |
|
IsIPBanned(string)
Declaration
public bool IsIPBanned(string ipAddress)
Parameters
Type |
Name |
Description |
string |
ipAddress |
|
Returns
UpdateIPFilter(IPFilterInfo)
Declaration
public void UpdateIPFilter(IPFilterInfo ipFilter)
Parameters
Implements
Extension Methods