Click or drag to resize
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. Do not use any of the country names as a database or dictionary key. Use the or instead.
Inheritance Hierarchy

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 2.7.1
Syntax
public class RepresentedCountry : Country

The RepresentedCountry type exposes the following members.

Constructors
  NameDescription
Public methodRepresentedCountry
Constructor
Public methodRepresentedCountry(String, NullableInt32, NullableInt32, String, IDictionaryString, String, IEnumerableString)
Constructor
Public methodRepresentedCountry(String, NullableInt32, NullableInt64, String, IDictionaryString, String, IEnumerableString)
Constructor
Top
Properties
  NameDescription
Public propertyConfidence
A value from 0-100 indicating MaxMind's confidence that the country is correct. This value is only set when using the Insights web service or the Enterprise database.
(Inherited from Country.)
Public propertyGeoNameId
The GeoName ID for the city.
(Inherited from NamedEntity.)
Public propertyIsoCode (Inherited from Country.)
Protected propertyLocales
Gets or sets the locales specified by the user.
(Inherited from NamedEntity.)
Public propertyName
The name of the city based on the locales list passed to the WebServiceClient constructor. Don't use any of these names as a database or dictionary key. Use the or relevant code instead.
(Inherited from NamedEntity.)
Public propertyNames
A DictionaryTKey, TValue from locale codes to the name in that locale. Don't use any of these names as a database or dictionary key. Use the or relevant code instead.
(Inherited from NamedEntity.)
Public propertyType
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 in the future.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Inherited from NamedEntity.)
Top
See Also