GeoIPHelper Class |
Namespace: CMS.WebAnalytics
public class GeoIPHelper : AbstractHelper<GeoIPHelper>
The GeoIPHelper type exposes the following members.
Name | Description | |
---|---|---|
GeoIPHelper |
Name | Description | |
---|---|---|
ClearLookUpServices |
Clears MaxMind GeoIP lookup services.
| |
GetCountryByIp |
Finds country name by IP4 address.
| |
GetCountryByIpInternal |
Finds country name by IP4 address.
| |
GetCountryIDByIp |
Finds ID of country from CMS_Country table by IP4 address.
| |
GetCountryIDByIpInternal |
Finds ID of country from CMS_Country table by IP4 address.
| |
GetCurrentGeoLocation |
Returns geo location according to current IP (RequestContext.UserHostAddress).
| |
GetLocationByIp |
Returns location object according to IP4 address.
| |
GetLocationByIpInternal |
Returns location object according to IP4 address.
| |
GetOrganizationByIp |
Finds organization/company name by IP4 address.
| |
GetOrganizationByIpInternal |
Finds organization/company name by IP4 address.
| |
GetStateByIp |
Finds state code name by IP4 address.
| |
GetStateByIpInternal |
Finds state code name by IP4 address.
| |
GetStateIDByIp |
Finds ID of state from CMS_State table by IP4 address.
| |
GetStateIDByIpInternal |
Finds ID of state from CMS_State table by IP4 address.
| |
InitIPToLocationService |
Initializes the IP to location service with options.
| |
InitIPToOrgService |
Initializes the IP to organization service with options.
| |
SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelperHelperType.) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |