I have a Windows user service with my own register handler, how can I prevent it from stopping when it receives a stop command from the service manager? I have established a connection between the service and the GUI, and I only want to stop it from the GUI when I send the Windows service a βstopβ message when I try to stop it from the Windows Service Manager. I work in c #
source
share