This is a pretty straightforward question with a few parts, one I'm not entirely sure is possible.
- Pick a browser, any browser. This can be done in any browser. My initial desire was Chrome, but it seems to be the least likely one to work.
- It needs to have a way to differentiate different windows.
- It needs to be able to read the URL of all open tabs within a given window.
- Read the size and position of the browser window (I already have a function for this, so it isn't a necessity).
I have an existing windows form application. Ideally I am looking to have it be able to open a browser window and maintain certain knowledge of it. Basically after the file is reloaded I'd like it to be able to open the browser window(s) with the tabs exactly the way they were when it was saved. I don't care about any of the information in the tabs, so all I really need is the ability to reopen the url's that were open and know which url belonged in which window and in which order.
Thus far I have been able to read all open tabs, but I haven't been able to differentiate which tab belongs to which window, so that's not really going to work properly. Honestly, barring some kind of reference assembly (which I haven't been able to find so far) I can't really see a way to do this at all. But, maybe someone knows of a way to do this.