MaxMind.GeoIP2 : MaxMind.GeoIP2.Model Namespace

Subdivision Class

Contains data for the subdivisions associated with an IP address. This record is returned by all the end points except the Country end point.

Syntax

public class Subdivision : NamedEntity

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Members

See Also: Inherited members from NamedEntity.

Public Constructors

Documentation for this section has not yet been entered.

Public Properties

Confidence Nullable<int> . This is a value from 0-100 indicating MaxMind's confidence that the subdivision is correct. This attribute is only available from the Omni end point.
[read-only]
GeoNameId Nullable<int> . The GeoName ID for the city. This attribute is returned by all endpoints (Inherited from NamedEntity.)
IsoCode string . This is a string up to three characters long contain the subdivision portion of the code. This attribute is returned by all end points except Country.
[read-only]
Name string . The name of the city based on the locales list passed to the MaxMind.GeoIP2.WebServiceClient constructor. This attribute is returned by all endpoints. (Inherited from NamedEntity.)
[read-only]
Names Dictionary<string, string> . A Dictionary`2 from locale codes to the name in that locale. This attribute is returned by all end points. (Inherited from NamedEntity.)

Public Methods

override
ToString () : string
Returns a string that represents this instance. (Inherited from NamedEntity.)

Member Details

Subdivision Constructor

Documentation for this section has not yet been entered.

Syntax

public Subdivision ()

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Confidence Property

This is a value from 0-100 indicating MaxMind's confidence that the subdivision is correct. This attribute is only available from the Omni end point.

Syntax

[Newtonsoft.Json.JsonProperty("confidence")]
public Nullable<int> Confidence { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

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

IsoCode Property

This is a string up to three characters long contain the subdivision portion of the code. This attribute is returned by all end points except Country.

Syntax

[Newtonsoft.Json.JsonProperty("iso_code")]
public string IsoCode { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

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