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

適用対象