GeoIPHelper MembersKentico 8.0 API Reference
The GeoIPHelper type exposes the following members.
Constructors

  NameDescription
Public methodGeoIPHelper
Back to Top
Methods

  NameDescription
Public methodStatic memberClearLookUpServices
Clears MaxMind GeoIP lookup services.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
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 (HTTPHelper.UserHostAddress).
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
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 methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStatic memberInitIPToLocationService
Initializes the IP to location service with options.
Public methodStatic memberInitIPToOrgService
Initializes the IP to organization service with options.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelper HelperType .)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
See Also