Walter.Web.FireWall
Links Property
Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.EventArguments Namespace > EndpointsCreatedEventArgs Class : Links Property
Gets the endpoints discovered by the firewall.
Syntax
public IKnownLinks Links {get;}

Property Value

The known links for the firewall.
Example
Use the event to fine-tune rules for static files
private void Options_OnEndpointsCreated(object? sender, Walter.Web.FireWall.EventArguments.EndpointsCreatedEventArgs e)
             {
                 foreach (var item in e.Links.EndpointsInPath("*.zip", "*.pdf", "*.chm"))
                 {
                     item.AllowAddhockAccess = true;
                     item.FirewallDisabled = true;
                 }
            
                 foreach (var item in e.Links.EndpointsInPath("*.css", "*.png", "*.jpg", "*.ico"))
                 {
                     item.FirewallDisabled = true;
                 }
             }
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

EndpointsCreatedEventArgs Class
EndpointsCreatedEventArgs Members