Click or drag to resize

Location Class

Contains data for the location record associated with an IP address.
Inheritance Hierarchy
SystemObject
  MaxMind.GeoIP2.ModelLocation

Namespace:  MaxMind.GeoIP2.Model
Assembly:  MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax
public class Location

The Location type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAccuracyRadius
The approximate accuracy radius in kilometers around the latitude and longitude for the IP address. This is the radius where we have a 67% confidence that the device using the IP address resides within the circle centered at the latitude and longitude with the provided radius.
Public propertyAverageIncome
The average income in US dollars associated with the IP address.
Public propertyHasCoordinates
Determines whether both the Latitude and Longitude have values.
Public propertyLatitude
The approximate latitude of the location associated with the IP address. This value is not precise and should not be used to identify a particular address or household.
Public propertyLongitude
The approximate longitude of the location associated with the IP address. This value is not precise and should not be used to identify a particular address or household.
Public propertyMetroCode
The metro code of the location if the location is in the US. MaxMind returns the same metro codes as the Google AdWords API.
Public propertyPopulationDensity
The estimated number of people per square kilometer.
Public propertyTimeZone
The time zone associated with location, as specified by the IANA Time Zone Database , e.g., "America/New_York".
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
See Also