Using the API
The sequence of calls in code when using CallbackFilter is
- Call SetRegistrationKey() method to set the license key and enable CallbackFilter. CallbackFilter doesn't work without the license key (either registered or evaluation). You can request the evaluation key via the request form.
- Install the driver InstallDriver() method if the driver has not been installed yet. You don't need to call InstallDriver() every time your application is started.
- Set one or more rules for the filter by calling AddFilterAccessRule() and AddFilterCallbackRule() methods. Additional rules can be added after the driver is attached.
- Now it's time to ensure, that the driver can process the OS requests to the file system. You must implement handlers for some or all of the events present in CallbackFilter class.
- Call AttachFilter() to start using the driver and receiving notifications.
- When you finish work with the filter, detach it using DetachFilter().
- To remove the driver from the system, call UninstallDriver() method.

