wanna create application where when user will open any file from particular folder i want to track it date time
its bit difficult if FileSystemWatcher object in .net as it does not give all the control over only notify me whenever file is created , changed , deleted or renamed, specially for multimedia files such as images/video files
Anupam SinghPosted May 28, 2014, 2:49 AM
Actually there are 2 attributes 1. last access date 2. modified date .
where last access date is quite different form modified date.Modified date is the date when someone made the changes in file but last access date is the date when file was access last time.
I think you should consider last access date.
you can have a look of this : http://www.codeproject.com/Articles/31274/Change-File-Date-Attributes.
However there are some unwanted results may occur because some antivirus program scan files in system for malicious code and it might change last accessed time in that case.
Hope it helps.