I have built an app that can count the time.
After two hours its says “please stop playing or I will shut down the computer”.
So, my brother can stop the process from the “Windows Task Manager”.
Is it possible to stop it? So he can’t kill it form there?
I have tried to reopen the app when the windows forms close – any other ways?
Maybe using a Service is a better approach, because it is harder to find in the task manager and it should automatically restart if “killed”, but as long as the user has administrator rights he is always able to disable such things.
See THIS WALKTHROUGH on how to create a service with C#.