I am hoping to create a Windows Service that logs file reads on a server share. Unfortunately, the FileWatcher class only traps Changed, Created, Deleted and Renamed events. I am currently investigating Windows Messaging to see if this offers any possibilities. Any suggestions as to how to approach this problem would be greatly appreciated.
Please advise if there is a more appropriate forum for this question.

How to Log File Reads on Server Share
GerryT
Thank you for your timely response Optikal.
I am aware of Filemon. I need to create a Windows Service that will be distributed under license to our clients. It will integrate with an existing product and provide a very specific monitoring function - to continuously log the reads of specific files in specific folders. The logs will then be used to generate usage reports.
So, a third-party executable will not suffice. A royalty-free third-party component (.NET/ActiveX) could work if it is stable and proven. The only candidate after endless searches is a component called xDiskSpy by Alessandro Valenti. However, the component no longer appears to be available or commercially supported.
Referring to the FileMon documentation,
It would seem an approach like this may be necessary to detect file reads. I was hoping that a more straightforward approach may be possible.
Our strong preference is to create our own code or, failing that, to use a component (ideally .NET) from a major vendor.
Rohit Tela
The Filemon utility from SysInternals does all this for you, you might just be able to use that (the enterprise version can spit it out to a log file I believe).
http://www.sysinternals.com/Utilities/Filemon.html
cjarvis
Hi there.
Windows does this for you and logs such events in the event log security - make sure you have auditing set up on the folder you want to monitor
hope it helps
N. Gama
Hi ahmedilyas
Thank you for your response.
We are aware of auditing capabilities. However, our clients are not going to be happy if we flood the security log with hundreds of thousands of file access events.
Also:-