开发者

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

开发者 https://www.devze.com 2022-12-23 06:42 出处:网络
I am writing 开发者_如何学Goa .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 am writing 开发者_如何学Goa .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 object that maps to the browser.

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

Thank you,

  • G


Check out these links, they should do the trick!

http://forums.mozillazine.org/viewtopic.php?f=19&t=943095&start=0&st=0&sk=t&sd=a

https://developer.mozilla.org/en/Code_snippets/Progress_Listeners

http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/b1e5c626-97d9-40b3-9f98-918f2c9daa3b/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号