SolFSStorage.StoragePassword property


Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

SolFSStorage     See also    


Specifies a password for whole-storage encryption


    property StoragePassword: String;

[Plain C]
    long _stdcall StorageSetPassword(Handle Storage, PWideChar Password, LongWord PasswordLen)

[C++ (DLL/Lib)]
    unsigned short *get_StoragePassword()
    void set_StoragePassword(unsigned short *Value)

[C++ (VCL)]
    __property AnsiString StoragePassword;

[C++ (.NET)]
    String *get_StoragePassword()
    void set_StoragePassword(String *Value)

    String StoragePassword;

    Property StoragePassword As String

    String getStoragePassword()
    void setStoragePassword(String value)

[Plain C]  Parameters

  • Storage - handle to the storage returned by Create or Open function.
  • Password - specifies the password for the storage.
  • PasswordLen - specifies the length of the password in bytes (not counting the ending NULL).

[Plain C]  Return values

0 if the function succeeded or one of Error codes if the function failed.


This property specifies the password for whole-storage encryption. The value is used when the storage is created, when the fixed-sized storage is formatted or when the encrypted storage is opened.
To change the password or encryption algorithm use SetEncryption method.

See also

SetEncryption     StorageEncryption