Method IsPathWithinAnyDirectory
- Namespace
- Oscova.Agents.Utils
- Assembly
- Oscova.Agents.dll
IsPathWithinAnyDirectory(string, IReadOnlyList<string>)
Returns true if fullPath is located inside any
of the supplied directory roots.
public static bool IsPathWithinAnyDirectory(string fullPath, IReadOnlyList<string> allowedRoots)Parameters
fullPathstringallowedRootsIReadOnlyList<string>