.net - How to close google chrome via C#? -


  1. i want close google chrome via c#. me!
  2. i want written c# control google chrome control open/close google chrome

use process class chrome processes in array, , kill them all.

process [] chromeinstances = process.getprocessesbyname("chrome");  foreach(process p in chromeinstances)     p.kill(); 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -