Need concept regarding website visit tracking software c#
-
i Need to develop a windows service which will log whatever website is visited from the pc where this service will be running. user can use any browser to browse the site but i want my win service will log site name,IP address,time when visit etc. i have no concept how to accomplish this. do i need to read network card. if yes then how extarct all my require data from network card. it is not about any hacking.
tbhattacharjee
-
i Need to develop a windows service which will log whatever website is visited from the pc where this service will be running. user can use any browser to browse the site but i want my win service will log site name,IP address,time when visit etc. i have no concept how to accomplish this. do i need to read network card. if yes then how extarct all my require data from network card. it is not about any hacking.
tbhattacharjee
this link may help you :thumbsup: Custom Web Visitor Tracking using C#[^] Simple Windows Service Sample[^] Build Windows Event Log Watcher Service Process to Export Event Log Entries as RSS Feed[^]
-ambarish-
-
i Need to develop a windows service which will log whatever website is visited from the pc where this service will be running. user can use any browser to browse the site but i want my win service will log site name,IP address,time when visit etc. i have no concept how to accomplish this. do i need to read network card. if yes then how extarct all my require data from network card. it is not about any hacking.
tbhattacharjee
Tridip Bhattacharjee wrote:
i have no concept how to accomplish this.
Logging traffic (and blocking it) can be done using a firewall or a proxy.
Tridip Bhattacharjee wrote:
user can use any browser to browse the site but i want my win service will log site name,IP address,time when visit etc
When I launch MSN Messenger and it starts to fetch the ads - does that count as browsing a website? :)
Tridip Bhattacharjee wrote:
it is not about any hacking.
You're right, it's about logging - do make sure that the subject knows his/her actions are being logged, or a court might rule otherwise.
I are Troll :suss:
-
i Need to develop a windows service which will log whatever website is visited from the pc where this service will be running. user can use any browser to browse the site but i want my win service will log site name,IP address,time when visit etc. i have no concept how to accomplish this. do i need to read network card. if yes then how extarct all my require data from network card. it is not about any hacking.
tbhattacharjee
The standard way to do this is to write a proxy server, or, just use one off-the-shelf. Your program requirements, as you've listed, are not that uncommon.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak