How do I allow only one instance of a WPF application to run?
Thanks.
User sobelito
linked this post, which has the following update. What it says is that for an updated resource you should use Windows 7 Taskbar Single Instance, which if you look into the source will allow you to do what you need.
You can use the SingleInstance
c# project. It also contains samples for both WinForms and WPF.
Note that it's also released under the Apache 2.0 license, unlike Arik's Poznanski post in the Microsoft Blog, which is (IANAL, AFAIK) not commercially available.