Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclRfCommClient::SetEncryption Method

Sets the Encryption property for the connection.

Syntax
C++
void SetEncryption(bool Value);
Parameters 
Description 
bool Value 
True if Encryption is enabled for the connection.  

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

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

 

Exceptions 
Description 
 
 
Copyright (c) 2006-2019. All rights reserved.