Click or drag to resize

DatabaseReader Class

Instances of this class provide a reader for the GeoIP2 database format
Inheritance Hierarchy
SystemObject
  MaxMind.GeoIP2DatabaseReader

Namespace:  MaxMind.GeoIP2
Assembly:  MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax
public class DatabaseReader : IGeoIP2DatabaseReader, 
	IGeoIP2Provider, IDisposable

The DatabaseReader type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyMetadata
The metadata for the open MaxMind DB file.
Top
Methods
  NameDescription
Public methodAnonymousIP(IPAddress)
Look up an IP address in a GeoIP2 Anonymous IP.
Public methodAnonymousIP(String)
Look up an IP address in a GeoIP2 Anonymous IP.
Public methodAsn(IPAddress)
Returns an AsnResponse for the specified IP address.
Public methodAsn(String)
Returns an AsnResponse for the specified IP address.
Public methodCity(IPAddress)
Returns an CityResponse for the specified IP address.
Public methodCity(String)
Returns an CityResponse for the specified IP address.
Public methodConnectionType(IPAddress)
Returns an ConnectionTypeResponse for the specified IP address.
Public methodConnectionType(String)
Returns an ConnectionTypeResponse for the specified IP address.
Public methodCountry(IPAddress)
Returns an CountryResponse for the specified IP address.
Public methodCountry(String)
Returns an CountryResponse for the specified IP address.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodDomain(IPAddress)
Returns an DomainResponse for the specified IP address.
Public methodDomain(String)
Returns an DomainResponse for the specified IP address.
Public methodEnterprise(IPAddress)
Returns an EnterpriseResponse for the specified IP address.
Public methodEnterprise(String)
Returns an EnterpriseResponse for the specified IP address.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsp(IPAddress)
Returns an IspResponse for the specified IP address.
Public methodIsp(String)
Returns an IspResponse for the specified IP address.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodTryAnonymousIP(IPAddress, AnonymousIPResponse)
Tries to lookup an AnonymousIPResponse for the specified IP address.
Public methodTryAnonymousIP(String, AnonymousIPResponse)
Tries to lookup an AnonymousIPResponse for the specified IP address.
Public methodTryAsn(IPAddress, AsnResponse)
Tries to lookup an AsnResponse for the specified IP address.
Public methodTryAsn(String, AsnResponse)
Tries to lookup an AsnResponse for the specified IP address.
Public methodTryCity(IPAddress, CityResponse)
Tries to lookup a CityResponse for the specified IP address.
Public methodTryCity(String, CityResponse)
Tries to lookup a CityResponse for the specified IP address.
Public methodTryConnectionType(IPAddress, ConnectionTypeResponse)
Tries to lookup a ConnectionTypeResponse for the specified IP address.
Public methodTryConnectionType(String, ConnectionTypeResponse)
Tries to lookup a ConnectionTypeResponse for the specified IP address.
Public methodTryCountry(IPAddress, CountryResponse)
Tries to lookup a CountryResponse for the specified IP address.
Public methodTryCountry(String, CountryResponse)
Tries to lookup a CountryResponse for the specified IP address.
Public methodTryDomain(IPAddress, DomainResponse)
Tries to lookup a DomainResponse for the specified IP address.
Public methodTryDomain(String, DomainResponse)
Tries to lookup a DomainResponse for the specified IP address.
Public methodTryEnterprise(IPAddress, EnterpriseResponse)
Tries to lookup a EnterpriseResponse for the specified IP address.
Public methodTryEnterprise(String, EnterpriseResponse)
Tries to lookup a EnterpriseResponse for the specified IP address.
Public methodTryIsp(IPAddress, IspResponse)
Tries to lookup an IspResponse for the specified IP address.
Public methodTryIsp(String, IspResponse)
Tries to lookup an IspResponse for the specified IP address.
Top
See Also