Walter.Web.FireWall
GuardActionEventArgs Class
Members  Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.EventArguments Namespace : GuardActionEventArgs Class
Guard events being raised by the firewall when an GuardAction is anything but NoAction
Object Model
GuardActionEventArgs ClassIPageRequest Interface
Syntax
public class GuardActionEventArgs : System.EventArgs 
Example
You can interact with the action based on your own application work-flows. the bellow sample shows that users that are found to be spoofing are blocked for at-least 1 year
private void FireWall_OnGuardAction(object sender, GuardActionEventArgs e)
            {
                if (e.Page.User.AsFirewallUser().IsSpoofing)
                {
                    foreach (var item in e.Page.Incidents())
                    {
                        item.Expires = Inverse.Clock().UtcNow.AddDays(300);
                    }
                }
                e.AllowGuardAction = true;
            }
Inheritance Hierarchy

System.Object
   System.EventArgs
      Walter.Web.FireWall.EventArguments.GuardActionEventArgs

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GuardActionEventArgs Members
Walter.Web.FireWall.EventArguments Namespace