Freigeben über


SecondaryAuthenticationFactorInfo.DeviceModelNumber Eigenschaft

Definition

Ruft die Gerätemodellnummer ab.

Hinweis

Diese API ist nicht für alle Apps verfügbar. Wenn Ihr Entwicklerkonto nicht speziell von Microsoft für die Verwendung der funktion secondaryAuthenticationFactor bereitgestellt wurde, schlagen Aufrufe dieser API fehl. Wenden Sie sich an cdfonboard@microsoft.com, um eine Genehmigung zu beantragen. Weitere Informationen zu Funktionen finden Sie unter App-Funktionsdeklarationen. Eine Übersicht über das Begleitgeräteframework finden Sie unter Windows Unlock with companion devices (IoT)-Geräte –Übersicht.

public:
 property Platform::String ^ DeviceModelNumber { Platform::String ^ get(); };
winrt::hstring DeviceModelNumber();
/// [get: Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
winrt::hstring DeviceModelNumber();
public string DeviceModelNumber { get; }
public string DeviceModelNumber { [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorInfo is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")] get; }
var string = secondaryAuthenticationFactorInfo.deviceModelNumber;
Public ReadOnly Property DeviceModelNumber As String

Eigenschaftswert

String

Platform::String

winrt::hstring

Die Gerätemodellnummer.

Attribute

Gilt für:

Weitere Informationen