Walter.Web.FireWall
EndpointsInPath Method
Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Infrastructure Namespace > IKnownLinks Interface : EndpointsInPath Method
the path must contain any of these values
returns all endpoints that match a search pattern
Syntax
IReadOnlyList<DiscoveredRout> EndpointsInPath( 
   params string[] containing
)

Parameters

containing
the path must contain any of these values

Return Value

Example
When the firewall is created you have the ability work with links and perform special program logic on it. The blow sample shows the event triggered by the options configuration of the AddFireWall extension method
private void Options_OnEndpointsCreated(object sender, Walter.Web.FireWall.EventArgs.EndpointsCreatedEventArgs e)
{
   foreach (var item in links.EndpointsInPath("Download", "*.zip", "*.pdf"))
   {
       item.AllowAddhockAccess = true;
   }
   
   foreach (var item in links.EndpointsInPath("*.css", "*.png","*.jpg"))
   {
       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

IKnownLinks Interface
IKnownLinks Members