Click or drag to resize
AbstractCountryResponse Class
Abstract class for country-level response.
Inheritance Hierarchy

Namespace: MaxMind.GeoIP2.Responses
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 2.7.1
Syntax
public abstract class AbstractCountryResponse : AbstractResponse

The AbstractCountryResponse type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractCountryResponse
Initializes a new instance of the AbstractCountryResponse class.
Protected methodAbstractCountryResponse(Continent, Country, MaxMind, Country, RepresentedCountry, Traits)
Initializes a new instance of the AbstractCountryResponse class.
Top
Properties
  NameDescription
Public propertyContinent
Gets the continent for the requested IP address.
Public propertyCountry
Gets the country for the requested IP address. This object represents the country where MaxMind believes the end user is located
Public propertyMaxMind
Gets the MaxMind record containing data related to your account
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.
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.
Public propertyTraits
Gets the traits for the requested IP address.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetLocales
Sets the locales on all the NamedEntity properties.
(Overrides AbstractResponseSetLocales(IEnumerableString).)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also