.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

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -