Share via


RfcommDeviceService.MaxProtectionLevel Property

Definition

Gets the maximum SocketProtectionLevel supported by this RFCOMM service instance.

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

Property Value

The maximum SocketProtectionLevel of the RFCOMM service instance. This level can be passed to StreamSocket.ConnectAsync to upgrade the RFCOMM link protection level.

Windows requirements

App capabilities
bluetooth

Applies to