Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULConnectionParms class


EncryptionKey property

Specifies a key for encrypting the database.

Visual Basic
Public Property EncryptionKey As String
public string  EncryptionKey { get; set; }
Property value

A string specifying the encryption key. The default is a null reference (Nothing in Visual Basic) meaning no encryption.


All connections must use the same key as was specified when the database was created. Lost or forgotten keys result in completely inaccessible databases.

As with all passwords, it is best to choose a key value that cannot be easily guessed. The key can be of arbitrary length, but generally the longer the key, the better, because a shorter key is easier to guess than a longer one. Using a combination of numbers, letters, and special characters decreases the chances of someone guessing the key.

See also