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

Class IPRangeCriterion

Inheritance
System.Object
IPRangeCriterion
Namespace: EPiServer.VisitorGroupsCriteriaPack
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3
Syntax
[VisitorGroupCriterion(Category = "Technical Criteria", DisplayName = "IP Range", Description = "Criterion that matches certain IPv4 ranges", LanguagePath = "/shell/cms/visitorgroups/criteria/iprangecriterion")]
public class IPRangeCriterion : CriterionBase<IPRangeModel>, ICriterion, IGeneratesAdministrativeInterface

Constructors

IPRangeCriterion()

Declaration
public IPRangeCriterion()

IPRangeCriterion(IPAddressResolver)

Declaration
public IPRangeCriterion(IPAddressResolver addressResolver)
Parameters
Type Name Description
IPAddressResolver addressResolver

Methods

IsMatch(IPrincipal, HttpContext)

Declaration
public override bool IsMatch(IPrincipal principal, HttpContext httpContext)
Parameters
Type Name Description
System.Security.Principal.IPrincipal principal
Microsoft.AspNetCore.Http.HttpContext httpContext
Returns
Type Description
System.Boolean
Overrides
EPiServer.Personalization.VisitorGroups.CriterionBase<EPiServer.VisitorGroupsCriteriaPack.IPRangeModel>.IsMatch(System.Security.Principal.IPrincipal, Microsoft.AspNetCore.Http.HttpContext)

Implements

Extension Methods