c# - FileSystemWatcher changed event not firing for recently opened file -
i implemented filesystemwatcher
in windows forms application. changed event working when open file (say pdf-1) first time. when open same file second time within short span of time, changed event not firing. firing when open file (say pdf-2). again changed event firing first file (pdf-1) if open after time (say 1 or 2 hours).
i set internalbuffersize
16kb , notifyfilters
used lastaccess
, lastwrite
, filename
, directoryname
.
i unable find out issue. can me out?
i have seen similar results filesystemwatcher raid controller disks, scsi disks , regular ide disks write cache enabled.
i experienced lot of other errors may have been caused thread synchronization problems. here description of problem.
Comments
Post a Comment