One instance of app running

How do I make it so that only 1 instance of the app is running for a WPF project?
2 Replies
Keswiik
Keswiik4w ago
Stack Overflow
What is the correct way to create a single-instance WPF application?
Using C# and WPF under .NET (rather than Windows Forms or console), what is the correct way to create an application that can only be run as a single instance? I know it has something to do with s...
sibber
sibber4w ago
Stack Overflow
What is a good pattern for using a Global Mutex in C#?
The Mutex class is very misunderstood, and Global mutexes even more so. What is good, safe pattern to use when creating Global mutexes? One that will work Regardless of the locale my machine is ...

Did you find this page helpful?