Is there a way to get the PID from a process that is blocking a file using C#?
Question
Is there a way to get the PID from a process that is blocking a file using C#?
Solution
I don't know whether it can be done entirely within the framework, but maybe you could call out to SysInternals' Handle.exe to do the heavy lifting here?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow