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)
Syntax
public static string GetVerifiedFilePath(
	string storedFileValue
)

Parameters

storedFileValue
Type: SystemString
The stored full path to the file.

Return Value

Type: String
The stored value, unchanged.
See Also