.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 -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -