Guaranteed way to force application running continuously (overriding taskkill, task manager etc.)

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2009-09-09T00:04:29Z Indexed on 2011/01/11 23:53 UTC
Read the original article Hit count: 135

Filed under:
|

I have a C# security/monitoring application that I need to have running no matter what. However, I can not remove privileges or restrict access to parts of the OS (Windows).

I thought of having a protection service running which monitors continuously if an application is running, and starts it back up when the application is killed somehow, while the application monitors the protection service and starts the service if the service is killed. To my knowledge you can't simultaneously kill multiple processes at the same time.

Any better idea to guarantee that an application is always running?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET