How to log files downloaded
-
Hi, I'd like to write a stealth windows application that logs what files a user downloads. I would like to use the application to perform trend analysis, what files(jpegs, gifs or mpegs etc) a user downloads the most. Using C# I would like to know the logic behind it! eg. User clicks on a button or href to download file. My app logs user downloading file from site Any ideas will be much appreciate it..!:-D
-
Hi, I'd like to write a stealth windows application that logs what files a user downloads. I would like to use the application to perform trend analysis, what files(jpegs, gifs or mpegs etc) a user downloads the most. Using C# I would like to know the logic behind it! eg. User clicks on a button or href to download file. My app logs user downloading file from site Any ideas will be much appreciate it..!:-D
You would essentially be writting a firewall. A low-level application that the .NET Framework is NOT suited for. You'll be P/Invoking ALOT of Win32 API calls yourself. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Hi, I'd like to write a stealth windows application that logs what files a user downloads. I would like to use the application to perform trend analysis, what files(jpegs, gifs or mpegs etc) a user downloads the most. Using C# I would like to know the logic behind it! eg. User clicks on a button or href to download file. My app logs user downloading file from site Any ideas will be much appreciate it..!:-D
You could also write a Browser Helpfer Object (BHO). It's an ActiveX control that can sink the connection points in Internet Explorer, similar to how IE toolbars and desk bands work (though no GUI is required). See Browser Helper Objects: The Browser the Way You Want It[^] for more information. While you could create a BHO using C# and exposing a CCW (COM-Callable Wrapper), it would be pretty slow with the extra marshaling overhead. I suggest writing one in C/C++ if you know it - it's really not too hard.
Microsoft MVP, Visual C# My Articles
-
Hi, I'd like to write a stealth windows application that logs what files a user downloads. I would like to use the application to perform trend analysis, what files(jpegs, gifs or mpegs etc) a user downloads the most. Using C# I would like to know the logic behind it! eg. User clicks on a button or href to download file. My app logs user downloading file from site Any ideas will be much appreciate it..!:-D
BHO's will work only with IE and Windows Explorer. They will not work with Netscape Navigator, or Mozilla, ... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome