RfcommDeviceService.ProtectionLevel 属性

定义

获取 RFCOMM 服务实例的当前 SocketProtectionLevel。

public:
 property SocketProtectionLevel ProtectionLevel { SocketProtectionLevel get(); };
SocketProtectionLevel ProtectionLevel();
public SocketProtectionLevel ProtectionLevel { get; }
var socketProtectionLevel = rfcommDeviceService.protectionLevel;
Public ReadOnly Property ProtectionLevel As SocketProtectionLevel

属性值

远程 RFCOMM 服务实例的当前 SocketProtectionLevel。

Windows 要求

应用功能
bluetooth

适用于