PathHelper class
namespace: Serenity assembly: Serenity.Net.Core
Contains Path related helper functions.
public static class PathHelper
Public Members
| name | description |
|---|---|
| static IsSecureRelativeFile(…) | Checks whether the given path is a secure relative file. |
| static IsSecureRelativePath(…) | Checks whether the given path is a secure relative path. |
| static SecureCombine(…) | Combines a path and filename checking security. |
| static ToPath(…) | Converts forward slashes to backslashes |
| static ToUrl(…) | Converts backslashes to forward slashes |
| static ValidateSecureRelativeFile(…) | Validates if the filename is a secure relative file. |
See Also
- Source: PathHelper.cs