Compartir a través de


GattDescriptor.ProtectionLevel Propiedad

Definición

Obtiene o establece las opciones de seguridad de GATT deseadas para la comunicación por vía inalámbrica con el dispositivo.

Windows negociará la máxima seguridad posible con el dispositivo como parte del proceso de emparejamiento y especificar un nivel inferior de seguridad no degradará el nivel de seguridad existente.

public:
 property GattProtectionLevel ProtectionLevel { GattProtectionLevel get(); void set(GattProtectionLevel value); };
GattProtectionLevel ProtectionLevel();

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

Valor de propiedad

Las opciones de seguridad gatt deseadas para la comunicación por vía inalámbrica con el dispositivo.

Requisitos de Windows

Características de aplicaciones
bluetooth

Se aplica a