Log all URLs visited by user windows machine within a windows service

2k Views Asked by At

I've been searching the internet for C# tutorials on how to implement a windows service that sits on a windows machine that logs all URLs visited from any browser on that machine. In the most simple sense i literally want to Log the URL and DateTime to a text file.

All the posts I've found are around or over 10 years old so i'm not sure if they are still viable and many include using 3rd party libraries such as winPcap,Pcap, FiddlerCore which seem over kill for what i'm after.

In the simplest sense, I don't want to monitor all my network traffic, i don't want to intercept and manipulate packets or install some underlying proxy server and i don't care about request times and packet sizes.

Is the above possible without have to use a third party library like winPcap? Is there some kind event listener available the can be subscribed too?

I looked at querying the browsers local database to retrieve the users history but this doesn't store incognito data so this is no longer viable and i don't really want to go down this route and have different implementations for different browsers.

Any help, direction or examples would be greatly appreciated.

0

There are 0 best solutions below