次の方法で共有


SecondaryAuthenticationFactorInfo.DeviceFriendlyName プロパティ

定義

デバイスフレンドリ名を取得します。

Note

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

public:
 property Platform::String ^ DeviceFriendlyName { Platform::String ^ get(); };
winrt::hstring DeviceFriendlyName();
/// [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 DeviceFriendlyName();
public string DeviceFriendlyName { get; }
public string DeviceFriendlyName { [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.deviceFriendlyName;
Public ReadOnly Property DeviceFriendlyName As String

プロパティ値

String

Platform::String

winrt::hstring

デバイスのフレンドリ名。

属性

適用対象

こちらもご覧ください