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. |
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.6.0.0
Initializes a new instance of the MaxMind.GeoIP2.DatabaseReader class.Syntax
public DatabaseReader (System.IO.Stream stream, IEnumerable<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.6.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.6.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.6.0.0
Look up an IP address in a GeoIP2 Anonymous IP.Syntax
public MaxMind.GeoIP2.Responses.AnonymousIPResponse AnonymousIP (System.Net.IPAddress 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.6.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.6.0.0
Returns an MaxMind.GeoIP2.Responses.CityResponse for the specified IP address.Syntax
public MaxMind.GeoIP2.Responses.CityResponse City (System.Net.IPAddress 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.6.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.6.0.0
Returns an MaxMind.GeoIP2.Responses.ConnectionTypeResponse for the specified IP address.Syntax
public MaxMind.GeoIP2.Responses.ConnectionTypeResponse ConnectionType (System.Net.IPAddress 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.6.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.6.0.0
Returns an MaxMind.GeoIP2.Responses.CountryResponse for the specified IP address.Syntax
public MaxMind.GeoIP2.Responses.CountryResponse Country (System.Net.IPAddress 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.6.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.6.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.6.0.0
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.Syntax
Parameters
- disposing
Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Returns an MaxMind.GeoIP2.Responses.DomainResponse for the specified IP address.Syntax
public MaxMind.GeoIP2.Responses.DomainResponse Domain (System.Net.IPAddress 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.6.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.6.0.0
Returns an MaxMind.GeoIP2.Responses.EnterpriseResponse for the specified IP address.Syntax
public MaxMind.GeoIP2.Responses.EnterpriseResponse Enterprise (System.Net.IPAddress ipAddress)Parameters
- ipAddress
- The IP address.
Returns
An MaxMind.GeoIP2.Responses.EnterpriseResponseRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Returns an MaxMind.GeoIP2.Responses.EnterpriseResponse for the specified IP address.Syntax
public MaxMind.GeoIP2.Responses.EnterpriseResponse Enterprise (string ipAddress)Parameters
- ipAddress
- The IP address.
Returns
An MaxMind.GeoIP2.Responses.EnterpriseResponseRemarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Returns an MaxMind.GeoIP2.Responses.IspResponse for the specified IP address.Syntax
public MaxMind.GeoIP2.Responses.IspResponse Isp (System.Net.IPAddress 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.6.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.6.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.6.0.0
Tries to lookup an MaxMind.GeoIP2.Responses.AnonymousIPResponse for the specified IP address.Syntax
public bool TryAnonymousIP (System.Net.IPAddress ipAddress, out MaxMind.GeoIP2.Responses.AnonymousIPResponse response)Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.AnonymousIPResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup an MaxMind.GeoIP2.Responses.AnonymousIPResponse for the specified IP address.Syntax
public bool TryAnonymousIP (string ipAddress, out MaxMind.GeoIP2.Responses.AnonymousIPResponse response)Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.AnonymousIPResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup a MaxMind.GeoIP2.Responses.CityResponse for the specified IP address.Syntax
public bool TryCity (System.Net.IPAddress ipAddress, out MaxMind.GeoIP2.Responses.CityResponse response)Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.CityResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup a MaxMind.GeoIP2.Responses.CityResponse for the specified IP address.Syntax
Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.CityResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup a MaxMind.GeoIP2.Responses.ConnectionTypeResponse for the specified IP address.Syntax
public bool TryConnectionType (System.Net.IPAddress ipAddress, out MaxMind.GeoIP2.Responses.ConnectionTypeResponse response)Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.ConnectionTypeResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup a MaxMind.GeoIP2.Responses.ConnectionTypeResponse for the specified IP address.Syntax
public bool TryConnectionType (string ipAddress, out MaxMind.GeoIP2.Responses.ConnectionTypeResponse response)Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.ConnectionTypeResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup a MaxMind.GeoIP2.Responses.CountryResponse for the specified IP address.Syntax
public bool TryCountry (System.Net.IPAddress ipAddress, out MaxMind.GeoIP2.Responses.CountryResponse response)Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.CountryResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup a MaxMind.GeoIP2.Responses.CountryResponse for the specified IP address.Syntax
Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.CountryResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup a MaxMind.GeoIP2.Responses.DomainResponse for the specified IP address.Syntax
public bool TryDomain (System.Net.IPAddress ipAddress, out MaxMind.GeoIP2.Responses.DomainResponse response)Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.DomainResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup a MaxMind.GeoIP2.Responses.DomainResponse for the specified IP address.Syntax
Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.DomainResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup a MaxMind.GeoIP2.Responses.EnterpriseResponse for the specified IP address.Syntax
public bool TryEnterprise (System.Net.IPAddress ipAddress, out MaxMind.GeoIP2.Responses.EnterpriseResponse response)Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.EnterpriseResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup a MaxMind.GeoIP2.Responses.EnterpriseResponse for the specified IP address.Syntax
public bool TryEnterprise (string ipAddress, out MaxMind.GeoIP2.Responses.EnterpriseResponse response)Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.EnterpriseResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup an MaxMind.GeoIP2.Responses.IspResponse for the specified IP address.Syntax
public bool TryIsp (System.Net.IPAddress ipAddress, out MaxMind.GeoIP2.Responses.IspResponse response)Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.IspResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0
Tries to lookup an MaxMind.GeoIP2.Responses.IspResponse for the specified IP address.Syntax
Parameters
- ipAddress
- The IP address.
- response
- The MaxMind.GeoIP2.Responses.IspResponse.
Returns
A bool describing whether the IP address was found.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0