C# - how can I get owner's name for a Mutex

2019-01-27 22:52发布

I have a shared mutex between 2 applications. I want to create an administration console that shows the current owner's name of the mutex.

How can I get the application name that currently owns the Mutex?

1条回答
孤傲高冷的网名
2楼-- · 2019-01-27 23:08

I do not believe this is possible at the user mode level. You will have to install a driver or kernel plugin in order to get this information.

It's almost the same question as asking "what process opened this file"?

查看更多
登录 后发表回答