Click or drag to resize
AbstractCityResponse Class
Abstract class that city-level response.
Inheritance Hierarchy

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

The AbstractCityResponse type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCity
Gets the city for the requested IP address.
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 propertyLocation
Gets the location for the requested IP address.
Public propertyMaxMind
Gets the MaxMind record containing data related to your account
(Inherited from AbstractCountryResponse.)
Public propertyMostSpecificSubdivision
An object representing the most specific subdivision returned. If the response did not contain any subdivisions, this method returns an empty Subdivision object.
Public propertyPostal
Gets the postal object for the requested IP address.
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 propertySubdivisions
An ListT of Subdivision objects representing the country subdivisions for the requested IP address. The number and type of subdivisions varies by country, but a subdivision is typically a state, province, county, etc. Subdivisions are ordered from most general (largest) to most specific (smallest). If the response did not contain any subdivisions, this method returns an empty array.
Public propertyTraits
Gets the traits for the requested IP address.
(Inherited from AbstractCountryResponse.)
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 AbstractCountryResponseSetLocales(IEnumerableString).)
Public methodToString
Returns a String that represents this instance.
(Overrides AbstractCountryResponseToString.)
Top
See Also