Click or drag to resize

GeolocationService Class

Provides an ability to lookup the IP address and return the corresponding location information. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Dynamicweb.Analytics.UtilitiesGeolocationService

Namespace:  Dynamicweb.Analytics.Utilities
Assembly:  Dynamicweb.Analytics (in Dynamicweb.Analytics.dll) Version: 2.1.4
Syntax
public sealed class GeolocationService

The GeolocationService type exposes the following members.

Methods
  NameDescription
Public methodStatic memberLookup
Performs IP to location lookup.
Public methodStatic memberLookupBasic
Performs IP to location lookup and returns only the basic information (IP-address, ISP name and country code).
Public methodStatic memberPing
Sends a ping request to location service and returns the number of milliseconds that represents a latency.
Public methodStatic memberToDataTable(IEnumerableGeolocationInfo)
Converts the given geolocation data to an instance of DataTable. The IP-address will be used as a primary key.
Public methodStatic memberToDataTable(IEnumerableGeolocationInfo, Boolean)
Converts the given geolocation data to an instance of DataTable. The IP-address will be used as a primary key.
Top
See Also