views:

44

answers:

1

Is there a class in the .NET framework that I can used to catch files being opened? FileSystemWatcher only fires when a file is altered.

+1  A: 

FileSystemWatcher can monitor changes to the LastAccess (= "The date the file or folder was last opened") attribute - this should do what you want.

ax