SecondaryAuthenticationFactorInfo.IsAuthenticationSupported 属性

定义

已弃用。 检查配套设备是否支持某种用户身份验证功能。

注意

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

public:
 property bool IsAuthenticationSupported { bool get(); };
bool IsAuthenticationSupported();
/// [get: Windows.Foundation.Metadata.Deprecated("IsAuthenticationSupported is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
bool IsAuthenticationSupported();
public bool IsAuthenticationSupported { get; }
public bool IsAuthenticationSupported { [Windows.Foundation.Metadata.Deprecated("IsAuthenticationSupported is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")] get; }
var boolean = secondaryAuthenticationFactorInfo.isAuthenticationSupported;
Public ReadOnly Property IsAuthenticationSupported As Boolean

属性值

Boolean

bool

如果设备支持身份验证,则为 True,否则为 false

属性

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于