MaxMind.GeoIP2 : MaxMind.GeoIP2.Responses Namespace

AbstractCityResponse Class

Abstract class that responses with city-level data subclass.

Syntax

public abstract class AbstractCityResponse : 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: 0.3.2.0

Members

See Also: Inherited members from AbstractCountryResponse.

Public Constructors

Initializes a new instance of the MaxMind.GeoIP2.Responses.AbstractCityResponse class.

Public Properties

[read-only]
City MaxMind.GeoIP2.Model.City . Gets the city for the requested IP address.
[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]
Location MaxMind.GeoIP2.Model.Location . Gets the location for the requested IP address.
[read-only]
MaxMind MaxMind.GeoIP2.Model.MaxMind . Gets the MaxMind record containing data related to your account (Inherited from AbstractCountryResponse.)
[read-only]
MostSpecificSubdivision MaxMind.GeoIP2.Model.Subdivision . An object representing the most specific subdivision returned. If the response did not contain any subdivisions, this method returns an empty MaxMind.GeoIP2.Model.Subdivision object.
[read-only]
Postal MaxMind.GeoIP2.Model.Postal . Gets the postal object for the requested IP address.
[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]
Subdivisions List<MaxMind.GeoIP2.Model.Subdivision> . An List`1 of MaxMind.GeoIP2.Model.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.
[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.
override
ToString () : string
Returns a string that represents this instance. (Inherited from AbstractCountryResponse.)

Member Details

AbstractCityResponse Constructor

Initializes a new instance of the MaxMind.GeoIP2.Responses.AbstractCityResponse class.

Syntax

public AbstractCityResponse ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Responses
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.3.2.0

City Property

Gets the city for the requested IP address.

Syntax

[Newtonsoft.Json.JsonProperty("city")]
public MaxMind.GeoIP2.Model.City City { get; }

Value

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: 0.3.2.0

Location Property

Gets the location for the requested IP address.

Syntax

[Newtonsoft.Json.JsonProperty("location")]
public MaxMind.GeoIP2.Model.Location Location { get; }

Value

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: 0.3.2.0

MostSpecificSubdivision Property

An object representing the most specific subdivision returned. If the response did not contain any subdivisions, this method returns an empty MaxMind.GeoIP2.Model.Subdivision object.

Syntax

public MaxMind.GeoIP2.Model.Subdivision MostSpecificSubdivision { get; }

Value

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: 0.3.2.0

Postal Property

Gets the postal object for the requested IP address.

Syntax

[Newtonsoft.Json.JsonProperty("postal")]
public MaxMind.GeoIP2.Model.Postal Postal { get; }

Value

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: 0.3.2.0

Subdivisions Property

An List`1 of MaxMind.GeoIP2.Model.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.

Syntax

public List<MaxMind.GeoIP2.Model.Subdivision> Subdivisions { get; }

Value

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: 0.3.2.0

ToString Method

Returns a string that represents this instance.

Syntax

public override string ToString ()

Returns

A string that represents this instance.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Responses
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 0.3.2.0