November Happy Hour will be moved to Thursday December 5th.

Class OSBrowserCriterion

Inheritance
System.Object
OSBrowserCriterion
Namespace: EPiServer.VisitorGroupsCriteriaPack
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[VisitorGroupCriterion(Category = "Technical Criteria", Description = "Match Operating sytem & Browser name with specified value", DisplayName = "OS & Browser", LanguagePath = "/shell/cms/visitorgroups/criteria/osbrowsercriterion")]
public class OSBrowserCriterion : CriterionBase<OSBrowserModel>, ICriterion, IGeneratesAdministrativeInterface

Constructors

OSBrowserCriterion()

Declaration
public OSBrowserCriterion()

Fields

OTHERS_OS

Marked other os that is not in the list.

Declaration
public const string OTHERS_OS = "Others"
Field Value
Type Description
System.String

Methods

IsMatch(IPrincipal, HttpContext)

Determines whether the specified principal is match.

Declaration
public override bool IsMatch(IPrincipal principal, HttpContext httpContext)
Parameters
Type Name Description
System.Security.Principal.IPrincipal principal

The principal.

Microsoft.AspNetCore.Http.HttpContext httpContext

The HTTP context.

Returns
Type Description
System.Boolean

true if the specified principal is match; otherwise, false.

Overrides
EPiServer.Personalization.VisitorGroups.CriterionBase<EPiServer.VisitorGroupsCriteriaPack.OSBrowserModel>.IsMatch(System.Security.Principal.IPrincipal, Microsoft.AspNetCore.Http.HttpContext)

Implements

Extension Methods