Interface IGeoLookup
Looks-up entities by their ip addr
Inherited Members
Namespace: Azos.Web.GeoLookup
Assembly: Azos.Web.dll
Syntax
public interface IGeoLookup : IApplicationComponent
Properties
Available
Returns true when the underlying provider is initialized and ready to serve queries
Declaration
bool Available { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Resolution
Specifies how accurate the lookup is
Declaration
LookupResolution Resolution { get; }
Property Value
Type | Description |
---|---|
LookupResolution |
Methods
Lookup(IPAddress)
Tries to lookup the geo entity by domain IPAddress. Returns null when no match could be made
Declaration
GeoEntity Lookup(IPAddress address)
Parameters
Type | Name | Description |
---|---|---|
System.Net.IPAddress | address |
Returns
Type | Description |
---|---|
GeoEntity |