SecondaryAuthenticationFactorInfo.DeviceFriendlyName 属性

定义

获取设备友好名称。

注意

此 API 并非适用于所有应用。 除非你的开发人员帐户由 Microsoft 专门预配为使用 secondaryAuthenticationFactor 功能,否则对此 API 的调用将失败。 若要申请批准,请联系 cdfonboard@microsoft.com。 有关功能的详细信息,请参阅 应用功能声明。 有关配套设备框架的概述,请参阅 Windows 解锁与配套 (IoT) 设备 概述。

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

设备友好名称。

属性

适用于

另请参阅