Windows Dev Center

RfcommConnectionTrigger.ProtectionLevel | protectionLevel property

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

Syntax


var protectionLevel = rfcommConnectionTrigger.protectionLevel;
rfcommConnectionTrigger.protectionLevel = protectionLevel;

Property value

Type: SocketProtectionLevel

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

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

See also

RfcommConnectionTrigger

 

 

Show:
© 2015 Microsoft