Tracking changes on specified file

  • Thread starter Thread starter krystiankow
  • Start date Start date
K

krystiankow

Hi

I need to precisely track changes on a specified file. I have to be
able to know exactly what bytes of a file had been modified (or how
much added/deleted). This file is a binary file containing an old
database, changes on it are made by an dedicated DBMS. I found
FileSystemWatcher class but it does not give me information of what
bytes are modified.
 
Hi

I need to precisely track changes on a specified file. I have to be
able to know exactly what bytes of a file had been modified (or how
much added/deleted). This file is a binary file containing an old
database, changes on it are made by an dedicated DBMS. I found
FileSystemWatcher class but it does not give me information of what
bytes are modified.

NTFS Change Journal might or might not give you that information. If not,
you will need a file system filter driver to intercept the write requests.

You should also know that the area written is likely to be larger than the
actual block changed.
 
Back
Top