RfcommConnectionTrigger.ProtectionLevel Property

Definition

Gets or sets the minimum protection level required for connections that are created or accepted on behalf of the app.

public:
 property SocketProtectionLevel ProtectionLevel { SocketProtectionLevel get(); void set(SocketProtectionLevel value); };
SocketProtectionLevel ProtectionLevel();

void ProtectionLevel(SocketProtectionLevel value);
public SocketProtectionLevel ProtectionLevel { get; set; }
var socketProtectionLevel = rfcommConnectionTrigger.protectionLevel;
rfcommConnectionTrigger.protectionLevel = socketProtectionLevel;
Public Property ProtectionLevel As SocketProtectionLevel

Property Value

The minimum protection level required for connections that are created or accepted on behalf of the app. The default is BluetoothEncryptionWithAuthentication.

Applies to