title: FIleSystemWatcher last access (read) for media files is not working
body: <p>I am delivering media contents to a client system (download from internet) and want to acknowledge if the media file was opened (and viewed) by the operator. 
  I am using a file system watcher (C# 3.5) to check for the last access time of file (so whenever the media file is played I should get the event) and I send an acknowledgement. </p>
  
  <p>I have enabled the last access time in registry of my Windows 7 machine <a href="http://www.febooti.com/products/filetweak/online-help/file-last-accessed-date.html" rel="nofollow">here</a> and rebooted my system. File system watcher fires events on directory opened but not on media play. </p>
  
  <p>Here is my code : </p>
  
  <pre class="lang-cs prettyprint-override"><code>private FileSystemWatcher fsWatcher = null;
  private static Object objLock = new Object();
  
  private void StartAccessWatcher(string _folderPath)
  {
    fsWatcher = new FileSystemWatcher(_folderPath, "*.*");
    fsWatcher.Changed += new FileSystemEventHandler(fsWatcher_Changed);
    fsWatcher.IncludeSubdirectories = true;
    fsWatcher.NotifyFilter = NotifyFilters.LastAccess;
    fsWatcher.EnableRaisingEvents = true;
  }
  
  private void fsWatcher_Changed(object sender, FileSystemEventArgs e)
  {
    lock (objLock)
    {
      fsWatcher.EnableRaisingEvents = false;
      DisplayMessage(string.Concat(e.ChangeType, "  ", e.FullPath));
      fsWatcher.EnableRaisingEvents = true;
    }
  }
  
  private void btn_StartWatcher_Click(object sender, EventArgs e)
  {
    StartAccessWatcher(@"E:\Surewaves\Media-Store\MP1 Videos");
  }
  </code></pre>
  
  <p>You may also download my code sample from <a href="http://www.4shared.com/zip/Pj7useWZ/WatchFileAccess.html" rel="nofollow">here</a>.</p>
  
  <p>Please tell me how best can I achieve it ? I need to get the the last access time (when ever the video or audio or image or .swf file was played by any player) ?</p>