MaxMind.GeoIP2 : MaxMind.GeoIP2.Responses Namespace

AbstractCountryResponse Class

Abstract class for country-level response.

Syntax

public abstract class AbstractCountryResponse : 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.

Protected Constructors

Public Properties

[read-only]
Continent MaxMind.GeoIP2.Model.Continent . Gets the continent for the requested IP address.
[read-only]
Country MaxMind.GeoIP2.Model.Country . Gets the country for the requested IP address. This object represents the country where MaxMind believes the end user is located
[read-only]
MaxMind MaxMind.GeoIP2.Model.MaxMind . Gets the MaxMind record containing data related to your account
[read-only]
RegisteredCountry MaxMind.GeoIP2.Model.Country . Registered country record for the requested IP address. This record represents the country where the ISP has registered a given IP block and may differ from the user's country.
[read-only]
RepresentedCountry MaxMind.GeoIP2.Model.RepresentedCountry . Represented country record for the requested IP address. The represented country is used for things like military bases or embassies. It is only present when the represented country differs from the country.
[read-only]
Traits MaxMind.GeoIP2.Model.Traits . Gets the traits for the requested IP address.

Public Methods

override
ToString () : string
Returns a string that represents this instance.

Protected Methods

override
SetLocales (IEnumerable<string>)
Sets the locales on all the NamedEntity properties.
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

AbstractCountryResponse Constructor

Initializes a new instance of the MaxMind.GeoIP2.Responses.AbstractCountryResponse class.

Syntax

protected AbstractCountryResponse ()

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

AbstractCountryResponse Constructor

Initializes a new instance of the MaxMind.GeoIP2.Responses.AbstractCountryResponse class.

Syntax

Parameters

continent
Documentation for this section has not yet been entered.
country
Documentation for this section has not yet been entered.
maxMind
Documentation for this section has not yet been entered.
registeredCountry
Documentation for this section has not yet been entered.
representedCountry
Documentation for this section has not yet been entered.
traits
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

Continent Property

Gets the continent for the requested IP address.

Syntax

[Newtonsoft.Json.JsonProperty("continent")]
public MaxMind.GeoIP2.Model.Continent Continent { 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

Country Property

Gets the country for the requested IP address. This object represents the country where MaxMind believes the end user is located

Syntax

[Newtonsoft.Json.JsonProperty("country")]
public MaxMind.GeoIP2.Model.Country Country { 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

MaxMind Property

Gets the MaxMind record containing data related to your account

Syntax

[Newtonsoft.Json.JsonProperty("maxmind")]
public MaxMind.GeoIP2.Model.MaxMind MaxMind { 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

RegisteredCountry Property

Registered country record for the requested IP address. This record represents the country where the ISP has registered a given IP block and may differ from the user's country.

Syntax

[Newtonsoft.Json.JsonProperty("registered_country")]
public MaxMind.GeoIP2.Model.Country RegisteredCountry { 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

RepresentedCountry Property

Represented country record for the requested IP address. The represented country is used for things like military bases or embassies. It is only present when the represented country differs from the country.

Syntax

[Newtonsoft.Json.JsonProperty("represented_country")]
public MaxMind.GeoIP2.Model.RepresentedCountry RepresentedCountry { 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

SetLocales Method

Sets the locales on all the NamedEntity properties.

Syntax

protected override void SetLocales (IEnumerable<string> locales)

Parameters

locales
The locales specified by the user.

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

ToString Method

Returns a string that represents this instance.

Syntax

public override string ToString ()

Returns

A string that represents this instance.

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

Traits Property

Gets the traits for the requested IP address.

Syntax

[Newtonsoft.Json.JsonProperty("traits")]
public MaxMind.GeoIP2.Model.Traits Traits { 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