Click or drag to resize

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
Inheritance Hierarchy

Namespace:  MaxMind.GeoIP2.Responses
Assembly:  MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax
public class CountryResponse : AbstractCountryResponse

The CountryResponse type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyContinent
Gets the continent for the requested IP address.
(Inherited from AbstractCountryResponse.)
Public propertyCountry
Gets the country for the requested IP address. This object represents the country where MaxMind believes the end user is located
(Inherited from AbstractCountryResponse.)
Public propertyMaxMind
Gets the MaxMind record containing data related to your account
(Inherited from AbstractCountryResponse.)
Public propertyRegisteredCountry
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.)
Public propertyRepresentedCountry
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.)
Public propertyTraits
Gets the traits for the requested IP address.
(Inherited from AbstractCountryResponse.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodSetLocales
Sets the locales on all the NamedEntity properties.
(Inherited from AbstractCountryResponse.)
Public methodToString
Returns a String that represents this instance.
(Inherited from AbstractCountryResponse.)
Top
See Also