RfcommDeviceService.MaxProtectionLevel 屬性

定義

取得這個 RFCOMM 服務實例所支援的最大 SocketProtectionLevel。

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

屬性值

RFCOMM 服務實例的最大 SocketProtectionLevel。 此層級可以傳遞至 StreamSocket.ConnectAsync ,以升級 RFCOMM 連結保護層級。

Windows 需求

應用程式功能
bluetooth

適用於