MaxMind.GeoIP2 : MaxMind.GeoIP2.Model Namespace

Country Class

Contains data for the country record associated with an IP address.

Syntax

public class Country : 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: 2.1.0.0

Members

See Also: Inherited members from NamedEntity.

Public Constructors

Public Properties

[read-only]
Confidence Nullable<int> . A value from 0-100 indicating MaxMind's confidence that the country is correct. This attribute is only available from the Insights web service end point.
[read-only]
GeoNameId Nullable<int> . The GeoName ID for the city. (Inherited from NamedEntity.)
[read-only]
IsoCode string . The two-character ISO 3166-1 alpha code for the country.
[read-only]
Name string . The name of the city based on the locales list passed to the MaxMind.GeoIP2.WebServiceClient constructor. (Inherited from NamedEntity.)
[read-only]
Names Dictionary<string, string> . A Dictionary`2 from locale codes to the name in that locale. (Inherited from NamedEntity.)

Public Methods

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

Member Details

Country Constructor

Constructor

Syntax

public Country ()

Remarks

Documentation for this section has not yet been entered.

Requirements

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

Country Constructor

Constructor

Syntax

public Country (Nullable<int> confidence, Nullable<int> geoNameId, string isoCode, Dictionary<string, string> names, List<string> locales)

Parameters

confidence
Documentation for this section has not yet been entered.
geoNameId
Documentation for this section has not yet been entered.
isoCode
Documentation for this section has not yet been entered.
names
Documentation for this section has not yet been entered.
locales
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: 2.1.0.0

Confidence Property

A value from 0-100 indicating MaxMind's confidence that the country is correct. This attribute is only available from the Insights web service end point.

Syntax

[Newtonsoft.Json.JsonProperty("confidence")]
public Nullable<int> Confidence { 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.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0

IsoCode Property

The two-character ISO 3166-1 alpha code for the country.

Syntax

[Newtonsoft.Json.JsonProperty("iso_code")]
public string IsoCode { 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.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.1.0.0