Instances of this class provide a reader for the GeoIP2 database format
See Also: Inherited members from object.
|
Initializes a new instance of the MaxMind.GeoIP2.DatabaseReader class. | |
|
Initializes a new instance of the MaxMind.GeoIP2.DatabaseReader class. | |
|
Initializes a new instance of the MaxMind.GeoIP2.DatabaseReader class. | |
|
Initializes a new instance of the MaxMind.GeoIP2.DatabaseReader class. |
[read-only] | Metadata | MaxMind.Db.Metadata . The metadata for the open MaxMind DB file. |
|
AnonymousIP
(string)Look up an IP address in a GeoIP2 Anonymous IP. |
|
|
City
(string)Returns an MaxMind.GeoIP2.Responses.CityResponse for the specified ip address. |
|
|
ConnectionType
(string)Returns an MaxMind.GeoIP2.Responses.ConnectionTypeResponse for the specified IP address. |
|
|
Country
(string)Returns an MaxMind.GeoIP2.Responses.CountryResponse for the specified ip address. |
|
|
Dispose
()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
|
|
Domain
(string)Returns an MaxMind.GeoIP2.Responses.DomainResponse for the specified IP address. |
|
|
Isp
(string)Returns an MaxMind.GeoIP2.Responses.IspResponse for the specified IP address. |
Initializes a new instance of the MaxMind.GeoIP2.DatabaseReader class.
Syntax
public DatabaseReader (System.IO.Stream stream)Parameters
- stream
- A stream of the MaxMind DB file.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
Initializes a new instance of the MaxMind.GeoIP2.DatabaseReader class.
Syntax
public DatabaseReader (System.IO.Stream stream, List<string> locales)Parameters
- stream
- A stream of the MaxMind DB file.
- locales
- List of locale codes to use in name property from most preferred to least preferred.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
Initializes a new instance of the MaxMind.GeoIP2.DatabaseReader class.
Syntax
public DatabaseReader (string file, MaxMind.Db.FileAccessMode mode)Parameters
- file
- The MaxMind DB file.
- mode
- The mode by which to access the DB file.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
Initializes a new instance of the MaxMind.GeoIP2.DatabaseReader class.
Syntax
Parameters
- file
- The MaxMind DB file.
- locales
- List of locale codes to use in name property from most preferred to least preferred.
- mode
- The mode by which to access the DB file.
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
Look up an IP address in a GeoIP2 Anonymous IP.
Syntax
public MaxMind.GeoIP2.Responses.AnonymousIPResponse AnonymousIP (string ipAddress)Parameters
- ipAddress
- The IP address.
Returns
An MaxMind.GeoIP2.Responses.AnonymousIPResponseRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
Returns an MaxMind.GeoIP2.Responses.CityResponse for the specified ip address.
Syntax
public MaxMind.GeoIP2.Responses.CityResponse City (string ipAddress)Parameters
- ipAddress
- The ip address.
Returns
An MaxMind.GeoIP2.Responses.CityResponseRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
Returns an MaxMind.GeoIP2.Responses.ConnectionTypeResponse for the specified IP address.
Syntax
public MaxMind.GeoIP2.Responses.ConnectionTypeResponse ConnectionType (string ipAddress)Parameters
- ipAddress
- The IP address.
Returns
An MaxMind.GeoIP2.Responses.ConnectionTypeResponseRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
Returns an MaxMind.GeoIP2.Responses.CountryResponse for the specified ip address.
Syntax
public MaxMind.GeoIP2.Responses.CountryResponse Country (string ipAddress)Parameters
- ipAddress
- The ip address.
Returns
An MaxMind.GeoIP2.Responses.CountryResponseRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Syntax
public void Dispose ()Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
Returns an MaxMind.GeoIP2.Responses.DomainResponse for the specified IP address.
Syntax
public MaxMind.GeoIP2.Responses.DomainResponse Domain (string ipAddress)Parameters
- ipAddress
- The IP address.
Returns
An MaxMind.GeoIP2.Responses.DomainResponseRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
Returns an MaxMind.GeoIP2.Responses.IspResponse for the specified IP address.
Syntax
public MaxMind.GeoIP2.Responses.IspResponse Isp (string ipAddress)Parameters
- ipAddress
- The IP address.
Returns
An MaxMind.GeoIP2.Responses.IspResponseRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0
The metadata for the open MaxMind DB file.
Syntax
public MaxMind.Db.Metadata Metadata { get; }Value
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0