window.close();spa
System.Diagnostics.Process[] myProcesses;
myProcesses = System.Diagnostics.Process.GetProcessesByName("IEXPLORE");
foreach (System.Diagnostics.Process instance in myProcesses)
{
instance.CloseMainWindow();
}string
instance.kill(); it
Process[] pros = System.Diagnostics.Process.GetProcessesByName("IEXPLORE");
foreach(Process p in pros)
{
if(p.MainWindowTitle.Equals("YourTitleSetting"))
p.Kill();
} class