Method IsPathRelative
IsPathRelative(string, string)
Determines directory or its sub-directories contains the file.
public static bool IsPathRelative(string fileName, string directory)
Parameters
Returns
- bool
True if file is contained in the directory; otherwise false.