Sisk

Method

PathHelper.IsPathAllowed

Namespace
Sisk.Core.Helpers
Assembly
Sisk.Core.dll

IsPathAllowed(string) #

Determines whether the specified path contains only valid path and file-name characters.

C#
public static bool IsPathAllowed(string path)

Parameters #

path string

The path to validate.

Returns #

bool

true if path contains no invalid path or file-name characters; otherwise, false.

Type to search the documentation and the API reference.