问题
Basically I want to do what Unlocker does, only from code. I want to unlock all access to a folder (and files under it / subfolders), so I can subsequently delete it.
回答1:
You could just run Unlocker from your .Net app.
来源:https://stackoverflow.com/questions/1530537/how-do-i-unlock-a-folder-programatically-in-net