RfcommConnectionTrigger.ProtectionLevel 属性

定义

获取或设置代表应用创建或接受的连接所需的最低保护级别。

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

属性值

代表应用创建或接受的连接所需的最低保护级别。 默认值为 BluetoothEncryptionWithAuthentication。

适用于