How to get notified when a folder is accessed?
Posted
by smwikipedia
on Stack Overflow
See other posts from Stack Overflow
or by smwikipedia
Published on 2010-05-11T07:15:35Z
Indexed on
2010/05/11
7:54 UTC
Read the original article
Hit count: 226
c#
|filesystems
I have a shared folder on my local machine. I want to get notified every time someone tries to access it. Could someone give me some hint on this?
I have checked the FileSystemWatcher class, it only provides events for change/creation/delete/rename of the contents under the folder, which is not exactly what I want.
I also tried to use the event log audition as shown here, but it is just not exactly what I want, either.
Many thanks.
© Stack Overflow or respective owner