I have two applications, a WinForms app and a Windows Service that will both run on the same machine. I want the WinForms app to reliably detect when the service is running. I have complete control over the design and implementation of both applications.
My first thought is to use a Mutex, instantiated by the Service and detectable by the WinForms App.
Is there a better design?