Sisk

Method

HttpFileServerHandler.IsEntryAllowedToListing

Namespace
Sisk.Core.Http.FileSystem
Assembly
Sisk.Core.dll

IsEntryAllowedToListing(string) #

Determines whether the specified file-system entry is allowed to be listed.

C#
protected virtual bool IsEntryAllowedToListing(string entryPath)

Parameters #

entryPath string

The absolute or relative path of the entry to check.

Returns #

bool

true if the entry is inside the configured root directory; otherwise, false.

Type to search the documentation and the API reference.