SolFSStorage.StoragePassword property
Filter:
Pascal DLL C++ (DLL/Lib) C++ (VCL) C++ (.NET) C# VB.NETOverview
Specifies a password for whole-storage encryption
Declaration
[Pascal]
property StoragePassword: String;
[DLL]
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)
[C#]
String StoragePassword;
[VB.NET]
Property StoragePassword As String
[DLL] 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).
[DLL] Return values
0 if the function succeeded or one of Error codes if the function failed.
Description
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.
