RfcommConnectionTrigger.ProtectionLevel Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.