GattProtectionLevel Énumération

Définition

Représente le niveau de sécurité souhaité.

Permet de demander l’option de sécurité souhaitée.

public enum class GattProtectionLevel
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class GattProtectionLevel
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum GattProtectionLevel
var value = Windows.Devices.Bluetooth.GenericAttributeProfile.GattProtectionLevel.plain
Public Enum GattProtectionLevel
Héritage
GattProtectionLevel
Attributs

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)
Fonctionnalités de l’application
bluetooth

Champs

AuthenticationRequired 1

Exiger l’authentification du lien.

EncryptionAndAuthenticationRequired 3

Exiger le chiffrement et l’authentification du lien.

EncryptionRequired 2

Exiger le chiffrement du lien.

Plain 0

Utilise le niveau de protection par défaut.

S’applique à