C# WMI Process Differentiation!?
- by Goober
Scenario
I have a method that returns a list of processes using WMI.
If I have 3 processes running (all of which are C# applications) - and they all have THE SAME PROCESS NAME but different command line arguments, how can I differentiate between them If I want to start them or terminate them!?
Thoughts
As far as I can see, I physically cannot differentiate between them, at least not without having to use the Handle, but that doesn't tell me which one of them got terminated because the others will still sit there with the same name........
....really stumped, help greatly appreciated!