CallbackFilter

Instant control over file and folder operations in Windows and .NET applications

Cached and non-cached requests

When file read or write operation occurs, there are 3 possible "ways" the information goes:

  1. from the application to system cache
  2. from the cache to the file system
  3. from the application to the file system (bypassing the cache)
By default CallbackFilter tracks operations (2) and (3) (so-called non-cached operations). To catch operation (1) you need to set ProcessCachedReadWriteCallbacks property to true.

To distinguish between "cached" and "non-cached" request you can use Cached parameter of OnReadFileC and OnWriteFileC callbacks.

Normally you don't need to care about cached requests at all so ProcessCachedReadWriteCallbacks is false by default.

Support for cached requests appeared in CallbackFilter 2.2.

Back to top