Unstoppable Service

  • Thread starter Thread starter mkashif1
  • Start date Start date
M

mkashif1

Hi,
I'm developing a service that will be monitoring some of the
activities of currently logged in user.
one of the requirement is that the service must be unstoppable. The
user (any user even admin)
should be unable to stop/terminate the service. Is there any way? or
should I go for a normal
other than service? Any recommendations are appreciated.
thanks
 
Why don't you make two sepperate services who "guard" eachother? So if one is
stopped, it will be started by the other.

Regards,

Joost
 
Honestly I never tried, but shouldn't setting ServiceBase.CanStop = False do
the job?

Regards

Jochen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top