次の方法で共有


SecondaryAuthenticationFactorInfo.DeviceModelNumber プロパティ

定義

デバイス モデル番号を取得します。

Note

この API は、すべてのアプリで使用できるわけではありません。 開発者アカウントが secondaryAuthenticationFactor 機能を使用するように Microsoft によって特別にプロビジョニングされていない限り、この API の呼び出しは失敗します。 承認を申請するには、 にお問い合わせください cdfonboard@microsoft.com。 機能の詳細については、「 アプリの機能宣言」を参照してください。 コンパニオン デバイス フレームワークの概要については、コンパニオン (IoT) デバイスを使用した Windows のロック解除の 概要に関するページを参照してください。

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

プロパティ値

String

Platform::String

winrt::hstring

デバイス モデルの番号。

属性

適用対象

こちらもご覧ください