GattDescriptor.ProtectionLevel GattDescriptor.ProtectionLevel GattDescriptor.ProtectionLevel GattDescriptor.ProtectionLevel GattDescriptor.ProtectionLevel Property

Definition

Gets or sets the desired GATT security options for over the air communication with the device.

Windows will negotiate the maximum security possible with the device as part of the pairing process, and specifying a lower level of security won’t degrade the existing security level.

public : GattProtectionLevel ProtectionLevel { get; set; }
GattProtectionLevel ProtectionLevel();

void ProtectionLevel(GattProtectionLevel protectionlevel);
public GattProtectionLevel ProtectionLevel { get; set; }
Public ReadWrite Property ProtectionLevel As GattProtectionLevel
var gattProtectionLevel = gattDescriptor.protectionLevel;
gattDescriptor.protectionLevel = gattProtectionLevel;

Property Value

The desired GATT security options for over the air communication with the device.

Additional features and requirements

Capabilities
bluetooth