Try our conversational search powered by Generative AI!

Interface IClientGeolocationResolver

Defines a service that resolves the Geolocation of the current client.

Namespace: EPiServer.Personalization
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
public interface IClientGeolocationResolver

Properties

Capabilities

Gets the geolocation resolving capabilities of the IClientGeolocationResolver

Declaration
Capabilities Capabilities { get; }
Property Value
Type Description
Capabilities

Methods

ResolveLocation(HttpContextBase)

Resolves the geographic location where the current request originates from.

Declaration
IGeolocationResult ResolveLocation(HttpContextBase httpContext)
Parameters
Type Name Description
System.Web.HttpContextBase httpContext

The current HTTP context.

Returns
Type Description
IGeolocationResult

The geolocation of the current client or null if no location could be established.

Extension Methods