How can I list and terminate existing processes in a .Net application? The target applications are 1) .Net applications, 2) they are instances of the same executable file 3) they have unique identifiers, but I do not know how to get this information from them, 4) they are generated from the outside (i.e. I don’t have them handled since I do not create them).
I want to list all the processes, get unique identifiers from them, and restart some of them. I assume they are all responsive.
source
share