Detect change of File or Folder

ezeason

Member
Joined
Nov 9, 2004
Messages
6
Location
Texas
I was told that their was a why to detect if a file or folder changes. Does anyone know about this?

If it exist I need to know if the app must be running to detect the change? It will be watching a file and folder that my only change once a week.

:confused:
 
Yes... your program must be running on order to detect that a file has changed using the FileSystemWatcher class. If you need to detect if the file changed between instances of your app, you could concievably copy the file when the app is run and next time it is run, compare the copied file to the origional.
 
Back
Top