Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

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.dll
Version: 7.19.2
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.