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: 3.0.0
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
See Also