[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
configures the use of encryption.
Namespace: Db4objects.Db4o.Config
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub Encrypt ( _ flag As Boolean _ ) |
C# |
---|
void Encrypt ( bool flag ) |
Visual C++ |
---|
void Encrypt ( bool flag ) |
Parameters
- flag
- System.Boolean
true for turning encryption on, false for turning encryption off.
Remarks
configures the use of encryption.
This method needs to be called before a database file is created with the first Db4o.openFile() .
If encryption is set to true, you need to supply a password to seed the encryption mechanism.
db4o database files keep their encryption format after creation.
This method needs to be called before a database file is created with the first Db4o.openFile() .
If encryption is set to true, you need to supply a password to seed the encryption mechanism.
db4o database files keep their encryption format after creation.