المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to get url from browser to C# application



C# Programming
08-27-2010, 12:31 AM
Hi friends http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif
I'm looking for way of getting url from browser like Chrome or Opera etc.
To get this from IE I use [DllImport(user32.dll)] and methods FindWindow, FindWindowEx and SendMessage.
In case of Firefox very helpful is NDde.dll and DdeClient class.

But I don't know how to get this from other browsers.
I thought about checking cache files, but it doesn't work e.g. in portable version. It must by other way...a library or sth...

Any ideas? http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif