I am writing a Windows service that I would like to run as a scheduled task. In the beginning, I want him to read in chrome processes and kill everyone who has a specific url.
I can get processes using
var list = Process.GetProcessesByName("chrome");
but after that I'm at a standstill.
MainWindowTitle for each process is "", and MainWindowHandle is 0, so it does not help me.
I read a lot of posts related to this, and it seems that there is no api in chrome, so I'm wasting my time?
Any help appreciated J
source
share