Contains data for the location record associated with an IP address.
See Also: Inherited members from object.
|
Location
()
|
Constructor |
|
Constructor |
[read-only] | AccuracyRadius | Nullable<int> . The radius in kilometers around the specified location where the IP address is likely to be. This attribute is only available from the Insights end point. |
[read-only] | Latitude | Nullable<double> . The latitude of the location as a floating point number. |
[read-only] | Longitude | Nullable<double> . The longitude of the location as a floating point number. |
[read-only] | MetroCode | Nullable<int> . The metro code of the location if the location is in the US. MaxMind returns the same metro codes as the Google AdWords API. |
[read-only] | TimeZone | string . The time zone associated with location, as specified by the IANA Time Zone Database, e.g., "America/New_York". |
Constructor
Syntax
public Location ()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 Location (Nullable<int> accuracyRadius, Nullable<double> latitude, Nullable<double> longitude, Nullable<int> metroCode, string timeZone)Parameters
- accuracyRadius
- Documentation for this section has not yet been entered.
- latitude
- Documentation for this section has not yet been entered.
- longitude
- Documentation for this section has not yet been entered.
- metroCode
- Documentation for this section has not yet been entered.
- timeZone
- 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
The radius in kilometers around the specified location where the IP address is likely to be. This attribute is only available from the Insights end point.
Syntax
[Newtonsoft.Json.JsonProperty("accuracy_radius")]
public Nullable<int> AccuracyRadius { 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
The latitude of the location as a floating point number.
Syntax
[Newtonsoft.Json.JsonProperty("latitude")]
public Nullable<double> Latitude { 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
The longitude of the location as a floating point number.
Syntax
[Newtonsoft.Json.JsonProperty("longitude")]
public Nullable<double> Longitude { 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
The metro code of the location if the location is in the US. MaxMind returns the same metro codes as the Google AdWords API.
Syntax
[Newtonsoft.Json.JsonProperty("metro_code")]
public Nullable<int> MetroCode { 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
The time zone associated with location, as specified by the IANA Time Zone Database, e.g., "America/New_York".
Syntax
[Newtonsoft.Json.JsonProperty("time_zone")]
public string TimeZone { 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
Returns a string that represents this instance.
Syntax
public override string ToString ()Returns
A string that represents this instance.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