Good time of day!
There is an application that opens the links in the list. On a weak computer, if 10 such links are opened, the browser will hang. In this regard, I have to close the browser. Everything happens like this:
Process proc = new Process(); proc.StartInfo.FileName = str; proc.Start();
where str
is some kind of link. The question is that after the delay, the default browser in which the link is opened must be closed.
In response to proc.Kill()
writes
There are no processes associated with this object.
Is there any other way than to go into the registry and learn the default browser from there?
UPD. WindowsFormsApplication application