Click or drag to resize

ManagerRegisterEncryptionKey Method

Note: This API is now obsolete.

Registers an encryption key for use when a given database is requested via GetDatabase

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
[ObsoleteAttribute("This method is superceded by OpenDatabase")]
public void RegisterEncryptionKey(
	string dbName,
	SymmetricKey key
)

Parameters

dbName
Type: SystemString
The name of the database to register
key
Type: Couchbase.Lite.StoreSymmetricKey
The key object to register
See Also