MaxMind.GeoIP2 : MaxMind.GeoIP2.Model Namespace

RepresentedCountry Class

Contains data for the represented country associated with an IP address. This class contains the country-level data associated with an IP address for the IP's represented country. The represented country is the country represented by something like a military base or embassy. This record is returned by all the end points.

Syntax

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

Members

See Also: Inherited members from Country.

Public Constructors

Documentation for this section has not yet been entered.

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 Omni end point. (Inherited from Country.)
[read-only]
GeoNameId Nullable<int> . The GeoName ID for the city. This attribute is returned by all endpoints (Inherited from NamedEntity.)
[read-only]
IsoCode string . The two-character ISO 3166-1 alpha code for the country. This attribute is returned by all end points. (Inherited from 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.)
[read-only]
Type string . A string indicating the type of entity that is representing the country. Currently we only return military but this could expand to include other types such as embassy in the future. Returned by all end points.

Public Methods

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

Member Details

RepresentedCountry Constructor

Documentation for this section has not yet been entered.

Syntax

public RepresentedCountry ()

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

Type Property

A string indicating the type of entity that is representing the country. Currently we only return military but this could expand to include other types such as embassy in the future. Returned by all end points.

Syntax

[Newtonsoft.Json.JsonProperty("type")]
public string Type { 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: 0.3.2.0