Summary
configures the use of encryption.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Config - Containing Type
- IConfiguration
Syntax
[System.ObsoleteAttribute(@"use a custom encrypting IoAdapter instead")]
void Encrypt(bool flag)
Remarks
configures the use of encryption.
This method needs to be called before a database file is created with the first
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
Db4objects.Db4o.Db4oFactory.OpenFile(System.String)
.
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.
Attributes
Type | Description |
---|---|
ObsoleteAttribute |
Parameters
Name | Type | Description |
---|---|---|
flag | bool | true for turning encryption on, false for turning encryption off. |
Return Value
Type | Description |
---|---|
void |
See Also
- Db4objects.Db4o.Config.IConfiguration.Password(System.String)