Link to home
Start Free TrialLog in
Avatar of chugarah
chugarahFlag for Sweden

asked on

Grab url from anybrowser? Windows C#? track visited site?

I am currently playing with C# and WPF aplication on Windows. My queston is is it possible to grab the url from current browser the user is using?

Example:
I am opening internet explorer and typing www.google.com, the page loads and it shows me google.

I want to track that I have visited and then store in an database.
ANother example would be in firefox, or in google chorme?. How can I do this in Windows enviroment and the inportant queston, is it possible to do this with C#?
ASKER CERTIFIED SOLUTION
Avatar of HaiFai
HaiFai
Flag of Finland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chugarah

ASKER

Hi, can I also extract the URL encrypted page like https?. Which one do you recommend for both http and https?

Thanks
I used Sharpcap and it works greate in LAN enviroment. I tried using this one on my laptop and using my phone as modem and it didnt give any result.

I decided to go with 3 major browsers and apply code for getting the address. If you guys want the source code write an answer and I will post.