Bluetooth Framework C++ Edition

◆ __declspec() [6/10]

__declspec ( property(get=GetEncryption, put=SetEncryption )

Gets and sets the encryption state of the connection.

True if the connection is encrypted. False otherwise.

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

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

Exceptions
wclEBluetoothServer
wclEInvalidArgument