Open a storage
There exist two ways to open an existing storage:
- The first way lets you setup various event handlers and properties before opening the storage. To open the storage
- 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.