Class HttpRequestSupport

Static utility class to identify if a request / URL refers to an EPiServer system folder.

Inheritance
System.Object
HttpRequestSupport
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public static class HttpRequestSupport

Properties

IsRequestSystemDirectory

Gets a value indicating whether the current request refers to a system directory.

Declaration
public static bool IsRequestSystemDirectory { get; }
Property Value
Type Description
System.Boolean

true if this request is system directory; otherwise, false.

Methods

IsSystemDirectory(String)

Determines whether the path refers to a system directory.

Declaration
public static bool IsSystemDirectory(string urlPath)
Parameters
Type Name Description
System.String urlPath

The path

Returns
Type Description
System.Boolean

true if the given path refers to a system directory; otherwise, false.