Solid File System

Virtual file system enigne that can be embedded into your software.

Open a storage

There exist two ways to open an existing storage:

  1. The first way lets you setup various event handlers and properties before opening the storage. To open the storage
    1. Create an instance of SolFSStorage class using it's Constructor.
    2. Set FileName property. Optionally set other properties like storage password etc.
    3. Call Open() method of SolFSStorage class and pass somOpenExisting value as a parameter.
  2. The second way lets you do everything with one call. Create an instance of SolFSStorage class using it's Constructor. This constructor doesn't let you specify the password for encrypted storage, though.

After you have opened the storage, it's good idea to ensure that it doesn't require checking and reparing procedure. To do this, check IsCorrupted property of SolFSStorage class. If IsCorrupted is true, call CheckAndRepair() method of SolFSStorage class to repair the storage integrity.

Back to top