I have a service running on the machine in production. This service sometimes gets "stopped" and the easiest solution is to restart the service, and it continues to work as expected. Is there any way I can get this service in a program in C#
and restart it? Furthermore, if it is possible to restart, is it possible to change the priority and affinity of the service? I need it to run at low priority and only on the third core of the processor. Thanks