There is a global mutex used by different applications. If one application blocks this mutex then other applications will not be able to start. Given the mutex name how can I find out in C# which process is owning this mutex currently. I need to build a utility to findout this process and kill which is holding this mutex.
Asked
Active
Viewed 2,140 times
1 Answers
0
By the looks of it, there's no simple c# only way to do so:
There's nothing in .NET to tell who "owns" a mutex. You'd have to PInvoke a set of functions with some very complicated code to get the current owner of a mutex.

Carlos
- 5,991
- 6
- 43
- 82