Walter.Web.FireWall
PhishyRequestEventArgs Class
Members  Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.EventArguments Namespace : PhishyRequestEventArgs Class
Argument used when a Phishy Request is considered, a phishy request is a request that is processed by your web application that resulted from a URL that is unknown to the firewall
Object Model
PhishyRequestEventArgs ClassIPageRequest Interface
Syntax
public class PhishyRequestEventArgs : System.EventArgs 
Example
Assuming the firewall using the SMTP NuGet package we use the NuGet package extension method to send a email to the configured developers mailbox for those that are responsible for security
private void MyFireWall_OnPhishyRequest(object sender, PhishyRequestEventArgs e)
{
    e.IgnoreForNow = true;
    (sender as IFireWall)?.SendEmail(EMailRoles.SecurityRelevant, $"URL {e.Request.OriginalUrl.PathAndQuery} phishy", $"Consider protection for {e.Request.OriginalUrl.PathAndQuery} on {e.Request}", false);
}
Inheritance Hierarchy

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

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

PhishyRequestEventArgs Members
Walter.Web.FireWall.EventArguments Namespace