TwclRfCommServer.Encryption Property

Gets and sets the encryption state of the connection.

Namespace: wclBluetooth
published
 property Encryption: Boolean read FEncryption write SetEncryption
 default False;

Property Value

Type: Boolean

True if the connection is encrypted. False otherwise.

If an application changes the property when connection is active the wclBluetoothErrors.wclEBluetoothServer exception raises.

The Encryption can be truend on (True) only if the Authentication property si also set to True.