Interface IGeoLookup
Looks-up entities by their ip addr
Inherited Members
System.IDisposable.Dispose()
Namespace: NFX.Web.GeoLookup
Assembly: NFX.Web.dll
Syntax
public interface IGeoLookup : IApplicationComponent, IDisposable
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 entitiy 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 |