GattProtectionLevel Enumeration

Definition

Stellt die gewünschte Sicherheitsstufe dar.

Ermöglicht das Anfordern der gewünschten Sicherheitsoption.

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
Vererbung
GattProtectionLevel
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)
App-Funktionen
bluetooth

Felder

AuthenticationRequired 1

Fordern Sie die Authentifizierung des Links an.

EncryptionAndAuthenticationRequired 3

Fordern Sie, dass der Link verschlüsselt und authentifiziert wird.

EncryptionRequired 2

Fordern Sie, dass der Link verschlüsselt wird.

Plain 0

Verwendet die Standardschutzebene.

Gilt für: