Hello,
First I'm going to explain what I'm trying to do, before asking the question directly. Basically, there is a Windows Service running on a specific machine, let's call it M1. This Windows Service runs a set of tasks using threads (1 thread for each partition of tasks). I need to program a functionality that will let the user stop/suspend/restart a partition from the administration panel of the application. My solutions consists in accessing those threads by their id/name. Once I have the thread I can do the right operation on it. Is it the right approach?
If yes, how do we do that? The threads are running in M1 and I need to access them from a remote computer (situated in the same network area). Is it even possible?
Thank you. Don't hesitate to ask for more explanations if needed.