FileSystemWatcher.Created Event Question - Please look!

  • Thread starter Thread starter Florida Development
  • Start date Start date
F

Florida Development

I have the need to monitor a directory for the arrival of files and then to
run some processing on those new files. This is easy enough conceptually,
the problem I have is that I get an event to handle when the file is first
created yet is not fully written to the disk yet. Is there some simple way
(that will pass a code review) that I can determine when the file write to
disk has been completed so I can do my processing? Thank you.
 
Doh!!!!
I did not read the subject.. Sorry. Would Changed be the better event to
process after the Created.. i.e. Once Created comes in, handle the Changed
so that you can see when it first gets changed and use that to handle your
need.

No?\
 
Back
Top