Walter.Web.FireWall
Allowed Property (GeoBlockingPolicy)
Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Geo Namespace > GeoBlockingPolicy Class : Allowed Property
All allowed regions for this application, the default is null meaning all countries are allowed unless blocked
Syntax
public GeoLocation[] Allowed {get;}
Remarks
You can configure the regions by using app.UseFireWall().UseGeoBlockingMiddleware()
Example
Sample shows blocking access in according to EU regulation for Intangible transfer of technology related to dual-use items
app.UseFireWall()
    .UseGeoBlockingMiddleware(options =>{
                    options.Block(new[] { GeoLocation.NorthKorea, GeoLocation.Iran, GeoLocation.Myanmar, GeoLocation.RussianFederation, GeoLocation.Syrian });
});
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

GeoBlockingPolicy Class
GeoBlockingPolicy Members