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
 
Back
Top