Click or drag to resize
GeoIPHelper Class
Provides IP address to GEO location conversion.
Inheritance Hierarchy
SystemObject
  CMS.BaseCoreMethods
    CMS.BaseAbstractHelper
      CMS.BaseAbstractHelperGeoIPHelper
        CMS.WebAnalyticsGeoIPHelper

Namespace: CMS.WebAnalytics
Assembly: CMS.WebAnalytics (in CMS.WebAnalytics.dll) Version: 9.0.0
Syntax
C#
public class GeoIPHelper : AbstractHelper<GeoIPHelper>

The GeoIPHelper type exposes the following members.

Constructors
  NameDescription
Public methodGeoIPHelper
Top
Methods
  NameDescription
Public methodStatic memberClearLookUpServices
Clears MaxMind GeoIP lookup services.
Public methodStatic memberGetCountryByIp
Finds country name by IP4 address.
Protected methodGetCountryByIpInternal
Finds country name by IP4 address.
Public methodStatic memberGetCountryIDByIp
Finds ID of country from CMS_Country table by IP4 address.
Protected methodGetCountryIDByIpInternal
Finds ID of country from CMS_Country table by IP4 address.
Public methodStatic memberGetCurrentGeoLocation
Returns geo location according to current IP (RequestContext.UserHostAddress).
Public methodStatic memberGetLocationByIp
Returns location object according to IP4 address.
Public methodGetLocationByIpInternal
Returns location object according to IP4 address.
Public methodStatic memberGetOrganizationByIp
Finds organization/company name by IP4 address.
Protected methodGetOrganizationByIpInternal
Finds organization/company name by IP4 address.
Public methodStatic memberGetStateByIp
Finds state code name by IP4 address.
Protected methodGetStateByIpInternal
Finds state code name by IP4 address.
Public methodStatic memberGetStateIDByIp
Finds ID of state from CMS_State table by IP4 address.
Protected methodGetStateIDByIpInternal
Finds ID of state from CMS_State table by IP4 address.
Public methodStatic memberInitIPToLocationService
Initializes the IP to location service with options.
Public methodStatic memberInitIPToOrgService
Initializes the IP to organization service with options.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Top
See Also