Table of Contents

Method GetAgentPathRoots

Namespace
Oscova.Agents.Utils
Assembly
Oscova.Agents.dll

GetAgentPathRoots(string, IReadOnlyList<AllowedDirectory>)

Matches the most specific granted alias roots without interpreting another device's native paths.

public static IReadOnlyList<AllowedDirectory> GetAgentPathRoots(string requestedPath, IReadOnlyList<AllowedDirectory> allowedDirectories)

Parameters

requestedPath string
allowedDirectories IReadOnlyList<AllowedDirectory>

Returns

IReadOnlyList<AllowedDirectory>