ASP-WAF Web application firewall for .Net 5, .Net Standard 2.1 and .Net Core 3.x

GeoMethod Enumeration

Specify the method of accessing GEO data from the Geo Provider

Namespace:  Walter.Web.FireWall.Geo
Assembly:  Walter.Web.FireWall (in Walter.Web.FireWall.dll)

Syntax


public enum GeoMethod

Members


Member nameDescription
NotSet Not set, this will generate a to-do item as one needs to specify a way to connect
UseFile The use files provided by MaxMind or IP2Location or your own implementation of IGeoFactory
UseApi The use API provided by your data provider
UseDatabase The a database, please note that the database needs to be configured for the provider specified. The Walter.Web.FireWall.Geo.Ip2Location NuGet package contains the database scrip and will create empty tables if the tabled do not exist