City-level data associated with an IP address.
See Also: Inherited members from NamedEntity.
|
City
()
|
Constructor |
|
Constructor |
[read-only] | Confidence | Nullable<int> . A value from 0-100 indicating MaxMind's confidence that the city is correct. |
[read-only] | GeoNameId | Nullable<int> . The GeoName ID for the city. (Inherited from NamedEntity.) |
[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.) |
override
|
ToString
()Returns a string that represents this instance. (Inherited from NamedEntity.) |
Constructor
Syntax
public City ()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
Constructor
Syntax
public City (Nullable<int> confidence, Nullable<int> geoNameId, 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.
- 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
A value from 0-100 indicating MaxMind's confidence that the city is correct.
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