I have a drive which I want to read out.
Goal: Get list of all restricted files and folders from this drive.
The first assign is currently like that:
myFiles=Directory.EnumerateFiles(“J:\abc”, “*.pdf”, SearchOption.AllDirectories)
How do I need to change the workflow to only get the path of restricted access files and folders?