E-Guardo Smart DefenderWebLogger BlackListIPDirectly Method (IPAddress)E-Guardo Web Logger API Documentation
Use this method to add specified IPAddress to Local Black List in E-Guardo Smart Defender. You must provide valid settings to connect server.Please look at the ServiceAddress, ApplicationName and SecurityKey properties for more information.

Namespace: GuardoWebLogger
Assembly: GuardoWebLogger (in GuardoWebLogger.dll) Version: (

public static bool BlackListIPDirectly(
	IPAddress ActionIP
public static boolean BlackListIPDirectly(
	IPAddress ActionIP


Type: OnlineSystem.Net IPAddress
An IP Address which will be Black Listed in E-Guardo Smart Defender

Return Value

true if given IP Address is Black Listed in E-Guardo Smart Defender

Can be used and type of application. You just need to supply a valid IP Address to add Black List. For applications which can access HttpContext, you can use overloaded method which takes no input and auto discovers IP Address from current http request. This method is thread safe.

bool IsBlackListed = BlackListIPDirectly(System.Net.IPAddress.Parse(""));// Black Lists IP Address ( in E-Guardo Smart Defender
See Also