<xml></xml>

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

Berkeley DB .NET API Documentation
DatabaseConfig..::.Encrypted Property
DatabaseConfig Class See Also Send Feedback

Encrypt the database using the cryptographic password specified by DatabaseConfig.SetEncryption or DatabaseEnvironmentConfig.SetEncryption.

Namespace: BerkeleyDB
Assembly: libdb_dotnet62 (in libdb_dotnet62.dll) Version: 6.2.32.0

# Syntax

C#

    public bool Encrypted { get; set; }

Visual Basic (Declaration)

    Public Property Encrypted As Boolean

Visual C++

    public:
    property bool Encrypted {
    	bool get ();
    	void set (bool value);
    }

# Remarks

If the database already exists, the value of Encrypted must be the same as the existing database or an error is returned.

Encrypted databases are not portable between machines of different byte orders, that is, encrypted databases created on big-endian machines cannot be read on little-endian machines, and vice versa.

# See Also

DatabaseConfig Class
BerkeleyDB Namespace