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: 13.0.131
Syntax
C#
public class GeoIPHelper : AbstractHelper<GeoIPHelper>, 
	IDisposable

The GeoIPHelper type exposes the following members.

Constructors
  NameDescription
Public methodGeoIPHelper
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the GeoIPHelper.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the GeoIPHelper and optionally releases the managed resources.
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.
Protected methodGetCurrentGeoLocationInternal
Returns geo location according to current IP (RequestContext.UserHostAddress).
Public methodStatic memberGetLocationByIp
Returns location object according to IP4 address.
Protected methodGetLocationByIpInternal
Returns location object according to IP4 address.
Public methodStatic memberGetOrganizationByIp
Finds organization/company name associated with registered ASN by IP4 address.
Protected methodGetOrganizationByIpInternal
Finds organization/company name associated with registered ASN by IP4 address.
Public methodStatic memberGetStateByIp
Finds state code name by IP4 address.
Protected methodGetStateByIpInternal
Finds state 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 methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.)
Top
See Also