R
Romain TAILLANDIER
Hi group,
I have created a very simple application to test the FileSystemWatcher.
It is great !
I get all the event possible.
but i need to make an operation AFTER a file is written, the
FileSystemWatcher must detect the end of a writting operation on a
file, and then call to the operation.
if i use the 'created' event with a big file, the operation is starting
before the end of writing the file.
if i use the 'changed' event i get a number of event depending on the
size of the file, or a single event on the file creation.
how can i detect the end of a writing operation ?
and what are the good System.IO.NotifyFilters combinaison for achieve
it ?
thank you
ROM
I have created a very simple application to test the FileSystemWatcher.
It is great !
I get all the event possible.
but i need to make an operation AFTER a file is written, the
FileSystemWatcher must detect the end of a writting operation on a
file, and then call to the operation.
if i use the 'created' event with a big file, the operation is starting
before the end of writing the file.
if i use the 'changed' event i get a number of event depending on the
size of the file, or a single event on the file creation.
how can i detect the end of a writing operation ?
and what are the good System.IO.NotifyFilters combinaison for achieve
it ?
thank you
ROM