MaxMind.GeoIP2 : MaxMind.GeoIP2.Responses Namespace

CountryResponse Class

This class provides a model for the data returned by the GeoIP2 Precision: Country and GeoIP2 Country. The only difference between the City and Insights response classes is which fields in each record may be populated. See GeoIP2 Web Services

Syntax

public class CountryResponse : 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

Members

See Also: Inherited members from AbstractCountryResponse.

Public Constructors

Public Properties

[read-only]
Continent MaxMind.GeoIP2.Model.Continent . Gets the continent for the requested IP address. (Inherited from AbstractCountryResponse.)
[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 (Inherited from AbstractCountryResponse.)
[read-only]
MaxMind MaxMind.GeoIP2.Model.MaxMind . Gets the MaxMind record containing data related to your account (Inherited from AbstractCountryResponse.)
[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. (Inherited from AbstractCountryResponse.)
[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. (Inherited from AbstractCountryResponse.)
[read-only]
Traits MaxMind.GeoIP2.Model.Traits . Gets the traits for the requested IP address. (Inherited from AbstractCountryResponse.)

Public Methods

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

Protected Methods

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

CountryResponse Constructor

Constructor

Syntax

public CountryResponse ()

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

CountryResponse Constructor

Constructor

Syntax

[MaxMind.Db.Constructor]
public CountryResponse (MaxMind.GeoIP2.Model.Continent continent, MaxMind.GeoIP2.Model.Country country, [MaxMind.Db.Parameter("maxmind", false)] MaxMind.GeoIP2.Model.MaxMind maxMind, MaxMind.GeoIP2.Model.Country registeredCountry, [MaxMind.Db.Parameter("represented_country", false)] MaxMind.GeoIP2.Model.RepresentedCountry representedCountry, [MaxMind.Db.Parameter("traits", true)] 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