CBDirect Component

Properties   Methods   Events   Configuration Settings   Errors  

The CBDirect component provides applications with low-level, direct access to disks and memory in Windows.

Syntax

callback.CBFSDirect.Cbdirect

Remarks

The CBDirect component is used to gain low-level, direct access to disks and memory in Windows. The component allows bypassing certain Windows access restrictions, even under limited user accounts.

Getting Started

All of the CBDirect component's methods are independent, and can be called immediately after creating an instance of the component.

Here's how to get up and running:

  1. If the system driver hasn't been installed yet, call the Install method to do so. This only needs to be done once.
    • In production, the system driver can be installed (or updated) ahead-of-time by the application's installation script using the Installer DLL. Please refer to the Driver Installation topic for more information.
  2. Call the component's methods as needed.
  3. To uninstall the system driver, call the Uninstall method. This should not be done as part of the driver upgrade process.
    • In production, the system driver can be uninstalled by the application's uninstallation script using the Installer DLL. Please refer to the Driver Installation topic for more information.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

TagStores application-defined data specific to this instance of the component.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

ConfigSets or retrieves a configuration setting.
CreateFileCreates or opens a file or directory by passing the request directly to the filesystem.
CreateFileAsStreamCreates or opens a file as a stream by passing the request directly to the filesystem.
DeleteFileDeletes a file by passing the request directly to the filesystem.
GetDriverStatusRetrieves the status of the component's system driver.
GetDriverVersionRetrieves the version of the component's system driver.
GetSectorCountReturns the number of sectors on the specified disk device.
GetSectorSizeReturns the sector size used by the specified disk device.
InitializeInitializes the component.
InstallInstalls (or upgrades) the component's system driver.
OpenMemoryProvides raw, read-only access to the system's physical memory.
OpenMemoryAsStreamProvides raw, read-only access to the system's physical memory as a stream.
OpenVolumeOpens a volume.
OpenVolumeAsStreamOpens a volume as a stream.
ReadSectorsReads data from sectors of a disk.
ShutdownSystemShuts down or reboots the operating system.
UninstallUninstalls the component's system driver.
WriteSectorsWrites data to sectors on a disk.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

ErrorFires if an unhandled error occurs during an event.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

BuildInfoInformation about the product's build.
LicenseInfoInformation about the current license.

 
 
Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Direct 2020 .NET Edition - Version 20.0 [Build 7850]