MaxMind.GeoIP2 : MaxMind.GeoIP2.Responses Namespace

DomainResponse Class

This class represents the GeoIP2 Domain response.

Syntax

public class DomainResponse : AbstractResponse

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Responses
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Members

See Also: Inherited members from AbstractResponse.

Public Constructors

Construct a DomainResponse model object.
Construct a DomainResponse model object.

Public Properties

[read-only]
Domain string . The second level domain associated with the IP address. This will be something like "example.com" or "example.co.uk", not "foo.example.com".
[read-only]
IPAddress string . The IP address that the data in the model is for. If you performed a "me" lookup against the web service, this will be the externally routable IP address for the system the code is running on. If the system is behind a NAT, this may differ from the IP address locally assigned to it.

Protected Methods

SetLocales (IEnumerable<string>)
This is simplify the database API. Also, we may need to use the locales in the future. (Inherited from AbstractResponse.)

Member Details

DomainResponse Constructor

Construct a DomainResponse model object.

Syntax

public DomainResponse ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Responses
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

DomainResponse Constructor

Construct a DomainResponse model object.

Syntax

[MaxMind.Db.Constructor]
public DomainResponse (string domain, [MaxMind.Db.Inject("ip_address")] string ipAddress)

Parameters

domain
ipAddress

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Responses
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Domain Property

The second level domain associated with the IP address. This will be something like "example.com" or "example.co.uk", not "foo.example.com".

Syntax

[Newtonsoft.Json.JsonProperty("domain")]
public string Domain { 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.Responses
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

IPAddress Property

The IP address that the data in the model is for. If you performed a "me" lookup against the web service, this will be the externally routable IP address for the system the code is running on. If the system is behind a NAT, this may differ from the IP address locally assigned to it.

Syntax

[Newtonsoft.Json.JsonProperty("ip_address")]
public string IPAddress { 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.Responses
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0