How to achieve single instance app in C#? #1747
-
I want my app to have only one instance. I've gone through the doc and all I found are so many C++ examples and just explanations of differences between single instance and multiple instances app. Is there a clear example to achieve it using clean C# codes and API interface in 1.0 preview 3? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 15 replies
-
Hi @JohnCido, we're working on improving the docs for single instancing, in the meantime here's a GIST that explains how to accomplish single instance in a C# app using 1.0 Preview 3: https://gist.github.com/andrewleader/5adc742fe15b06576c1973ea6e999552 Make sure you build/compile your app for x64, there's currently a known bug on x86. |
Beta Was this translation helpful? Give feedback.
Hi @JohnCido, we're working on improving the docs for single instancing, in the meantime here's a GIST that explains how to accomplish single instance in a C# app using 1.0 Preview 3: https://gist.github.com/andrewleader/5adc742fe15b06576c1973ea6e999552
Make sure you build/compile your app for x64, there's currently a known bug on x86.