Get the URL(s) from Firefox using C# .NET 3.5

Posted by ghawkes on Stack Overflow See other posts from Stack Overflow or by ghawkes
Published on 2010-03-16T19:24:14Z Indexed on 2010/03/16 19:31 UTC
Read the original article Hit count: 154

Filed under:
|
|

I am writing a .NET 3.5 WPF application in C#. This application needs to be able to get the URL(s) out of the browser window when it is in the foreground.

I already have the code working that handles a global Windows hotkey and then checks to see if the foreground IntPtr is from a browser. If so, I am able to obtain the System.Diagnostics.Process objects that maps to the browser.

At this point, I would like to obtain the URL(s) from the browser.

Thank you,

  • G

© Stack Overflow or respective owner

Related posts about c#

Related posts about firefox