How do I format the partition to SolFS format?
Before any operation with physical volume or disk you must set valid registration key by SolFSStorage.SetRegistrationKey method.
First of all you have to format physical volume to SolFS file system. This can be done by SolFSStorage.ForamtVolume method. Before formatting you can set PageSize, Logo, StorageEncryption and StoragePassword properties, which will be used during format (if you like to use plain C functions, you have to make StorageFormatVolume, StorageOpenVolume and StorageSetEncryption calls in order to encrypt the volume). Also you can set OnProgress event handler which will be called during the formatting to show the progress of the operation.
After that the physical disk (or partition) will be recognized by the OS as SolFS formatted. You can check if the disk is SolFS formatted using SolFSStorage.IsSolFSVolume method.
In order to use SolFS formatted disk you have to open it with SolFSStorage.OpenVolume method. At this point UseTransactions and UseAccessTime properties are used to open the volume in appropriate mode.
If StoragePassword property is set, it is used to open encrypted storage.
If storage password is not specified, you can set it later with the same property and use SolFSStorage.OpenRootData and SolFSStorage.CheckPassword methods before specifying the password.