I had previously implemented it in this way.
using (var mutex = new Mutex(true, "MyMutex")) { try { // critical section finally