Hi Lars,
IIRC if you open a file the last access time will change, if so you can use
the Changed event of the FileSystemWatcher to detect it, if so you can use
FileSystemEventArgs.ChangeType track it, What I don't know for sure is if
you can filter an open operation from the rest of the changes detected.
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Lars Nielsen" <ln********@videnfabrikken.dk> wrote in message
news:bq**********@news.cybercity.dk...
Hi
Is it possible to add more events to the FileSystemWatcher object than the
standard create, change, delete and rename? I want to use it to watch if
anyone opens or accesses a file?
regards
Lars Nielsen