Click or drag to resize
UtilitiesEnsurePathIsAbsolute Method
Ensure that a given path is absolute, if not, applying the root path. WARNING: This function only works as well as Path.IsPathRooted, which returns "True" for things like "/NoDriveSpecified/fuzzle.txt" A better approach would be to look at the internal Path.IsRelative method

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static string EnsurePathIsAbsolute(
	string sRootPath,
	string sFilename
)

Parameters

sRootPath
Type: SystemString
sFilename
Type: SystemString

Return Value

Type: String
See Also