1
Answer

Windows Service stops itself?

jkersch

jkersch

20y
4.5k
1
hi there, i´m working on a windows service (Nt Service) and i wonder if it is possible that the service stops itself ? i regularly check uptime of servers and if it fails, i want the service to stop (after doing some other operations). i know its possible to stop services via a serviceInstaller, but i want to do it right from within the Service. any ideas? thanks, jkersch
Answers (1)
Next Recommended Forum