Abstract class for country-level response.
See Also: Inherited members from AbstractResponse.
|
Initializes a new instance of the MaxMind.GeoIP2.Responses.AbstractCountryResponse class. | |
|
Initializes a new instance of the MaxMind.GeoIP2.Responses.AbstractCountryResponse class. |
[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. |
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.) |
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
Initializes a new instance of the MaxMind.GeoIP2.Responses.AbstractCountryResponse class.Syntax
protected AbstractCountryResponse (MaxMind.GeoIP2.Model.Continent continent, MaxMind.GeoIP2.Model.Country country, MaxMind.GeoIP2.Model.MaxMind maxMind, MaxMind.GeoIP2.Model.Country registeredCountry, MaxMind.GeoIP2.Model.RepresentedCountry representedCountry, MaxMind.GeoIP2.Model.Traits traits)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
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
Gets the country for the requested IP address. This object represents the country where MaxMind believes the end user is locatedSyntax
[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
Gets the MaxMind record containing data related to your accountSyntax
[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
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
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
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
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
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