I am creating a project with a DLL that will have one public method Process();
There will be a service that will call this method every three minutes.
There will also be a console application that will call this method.
If the method is currently running, how can I keep the console application from calling it while the service is already running it?
You will need to setup some sort of IPC – for example a global mutex used within that method to signal is running/not running currently would solve that problem (as long as both are running on the same machine that is)…