Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclRfCommServer::SetEncryption Method

Sets the encryption state of the connection.

Syntax
C++
void SetEncryption(bool Value);
Parameters 
Description 
bool Value 
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 truend on (True) only if the Authentication property si also set to True.  

 

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