Link to home
Start Free TrialLog in
Avatar of John Porter
John PorterFlag for United States of America

asked on

Killing a task on remote computer using C#

Hello Experts,

I am trying to kill a task (E.g. Chrome.exe) on a remote computer with a simple C# windows APP:

Do you use System.Diagnostics.Process.Start some how??

Does anyone know how to call the following code from C# to make this happen?

taskkill /S ComputerName /Im chrome.exe

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of John Porter

ASKER

Thanks! My syntax was off...