The GeoIPHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
GeoIPHelper |
Methods
Name | Description | |
---|---|---|
ClearLookUpServices |
Clears MaxMind GeoIP lookup services.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
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).
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
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.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitIPToLocationService |
Initializes the IP to location service with options.
| |
InitIPToOrgService |
Initializes the IP to organization service with options.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetAsDefaultHelper |
Sets this object as the default helper
(Inherited from AbstractHelper HelperType .) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
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.) |
See Also