E-Guardo Smart DefenderWebLogger MembersE-Guardo Web Logger API Documentation

The WebLogger type exposes the following members.
Constructors

  NameDescription
Public methodWebLogger
Initializes a new instance of the WebLogger class
Back to Top
Methods

  NameDescription
Public methodStatic memberAddLoginFail 
Use this method to add new failed connection for request's IP Address in E-Guardo Smart Defender. E-Guardo will count this fails and will be block this IP Address when the block count is reached. IPAddress is taken automaticaly from current HttpContext. You must provide valid settings to connect server.Please look at the ServiceAddress, ApplicationName and SecurityKey properties for more information.
Public methodStatic memberAddLoginFail(IPAddress)
Use this method to add new failed connection for given IP Address in E-Guardo Smart Defender. E-Guardo will count this fails and will be block this IP Address when the block count is reached. You must provide valid settings to connect server.Please look at the ServiceAddress, ApplicationName and SecurityKey properties for more information.
Public methodStatic memberBlackListIPDirectly 
Use this method to add request's IPAddress to Local Black List in E-Guardo Smart Defender. IPAddress is taken automaticaly from current HttpContext. You must provide valid settings to connect server.Please look at the ServiceAddress, ApplicationName and SecurityKey properties for more information.
Public methodStatic memberBlackListIPDirectly(IPAddress)
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.
Public methodStatic memberBlockIPDirectly 
Use this method to block request IPAddress in E-Guardo Smart Defender temporarily. IPAddress is taken automaticaly from current HttpContext. You must provide valid settings to connect server.Please look at the ServiceAddress, ApplicationName and SecurityKey properties for more information.
Public methodStatic memberBlockIPDirectly(IPAddress)
Use this method to block specified IPAddress in E-Guardo Smart Defender temporarily. You must provide valid settings to connect server.Please look at the ServiceAddress, ApplicationName and SecurityKey properties for more information.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberResetFailCounters 
Use this method to clear failed connections for request's IPAddress in E-Guardo Smart Defender which is fail count is under block limit. IPAddress is taken automaticaly from current HttpContext. You must provide valid settings to connect server.Please look at the ServiceAddress, ApplicationName and SecurityKey properties for more information.
Public methodStatic memberResetFailCounters(IPAddress)
Use this method to clear failed connections for given IPAddress in E-Guardo Smart Defender which is fail count is under block limit. You must provide valid settings to connect server.Please look at the ServiceAddress, ApplicationName and SecurityKey properties for more information.
Public methodStatic memberTestConnection
Use this method to test connection with E-Guardo Smart Defender. E-Guardo Smart Defender windows service must be up and running. If you have connections problems, please use 'Test' button in Settings form in E-Guardo Admin You must provide valid settings to connect server. Please look at the ServiceAddress, ApplicationName and SecurityKey properties for more information.
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyStatic memberApplicationName
A unique name of your application is required. You must provide this value. This value will be shown in Failed Request as a 'ProvierName'.
Public propertyStatic memberSecurityKey
The handshake password for socket server. This value is required for developers accessing the E-Guardo Web Logger. This value must be same as E-Guardo settings. You can change this key using E-Guardo settings window.
Public propertyStatic memberServiceAddress
E-Guardo socket server address. Current version is supports only 127.0.0.1 loop back address. Port value must be same as E-Guardo settings. Default port value is 50001.
Back to Top
See Also