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 given path is a secure relative file |
| static IsSecureRelativePath(…) | Checks whether 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 filename is a secure relative file |
See Also
- Source: PathHelper.cs