Avatar of chugarah
chugarah
Flag 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#?
C#

Avatar of undefined
Last Comment
chugarah

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
HaiFai

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
chugarah

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

Thanks
chugarah

ASKER
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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy