Rasing events on File Change

  • Thread starter Thread starter altaf.sunesara
  • Start date Start date
A

altaf.sunesara

Hello !
I would really appreciate some help
I have been developing an application where is need to raise certian
events on file change detected, I tried using the FileSystemWatcher
Class to do this but the problem i face is there are 2 events raised so
is there any other way out
where i can determine the file change then raise an event other than
using FileSystemWatcher.

Regards Help with this would be really appreciated.

Altaf Suneasara
 
I have been developing an application where is need to raise certian
events on file change detected, I tried using the FileSystemWatcher
Class to do this but the problem i face is there are 2 events raised so
is there any other way out
where i can determine the file change then raise an event other than
using FileSystemWatcher.

Did you check the 'ChangeType' of the event?
 
Thanks Herfried K. Wagner

I tried the this way
Same problem then i tried to change the notify filter toWhich currently raise one event.

Where in i was using .
Till now seems no problem but yet i need to have some alternative way
to monitor changes in files in certian directories.
 
Back
Top