Old link no longer available :/: http://blogs.microsoft.co.il/blogs/arik/archive/2010/05/28/wpf-single-instance-application.aspx
Suggest having at update posted by @sergio-basurco
Doesn’t require VB.DLL as some other examples advise.
Has WPF sample code.
Passes any cmd line args to initial instance.