 | CommonGetVerifiedFilePath Method (String) |
Verifies a stored file path without changing it. The value must be a fully-qualified
path (drive "X:\" or UNC "\\server\share") with a file name, no invalid characters,
and no "." or ".." segments, and it must reside under one of the roots listed in the
"AllowedFileRoots" app setting (semicolon-separated). Throws when verification fails.
Namespace:
IAS
Assembly:
Common (in Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string GetVerifiedFilePath(
string storedFileValue
)
Public Shared Function GetVerifiedFilePath (
storedFileValue As String
) As String
public static function GetVerifiedFilePath(
storedFileValue : String
) : String
IAS.Common.GetVerifiedFilePath = function(storedFileValue);
Parameters
- storedFileValue
- Type: SystemString
The stored full path to the file.
Return Value
Type:
StringThe stored value, unchanged.
See Also