Using the API

The sequence of calls in code when using CBFS Registry is

  1. Call SetRegistrationKey() method to set the license key and enable CBFS Registry. CBFS Registry doesn't work without the license key (either registered or evaluation). You can request the evaluation key via the key request form.
  2. Install the driver Install() method if the driver has not been installed yet. You don't need to call Install() every time your application is started.
  3. 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 CBFSRegistry class.
  4. Call Initialize() method to initialize the driver. You need to call Initialize() once per application execution.
  5. To activate the filter driver use StartFilter().
  6. Add one or more processes to filter with a call to AddFilteredProcessById()or AddFilteredProcessByName() method.
  7. When you finish work with the filter, detach it using StopFilter().
  8. To remove the driver from the system, call Uninstall() method.