SecondaryAuthenticationFactorDevicePresence 枚举

定义

已弃用。 包含一些值,用于描述是否存在配套设备 (,例如可穿戴设备) 。

注意

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

public enum class SecondaryAuthenticationFactorDevicePresence
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class SecondaryAuthenticationFactorDevicePresence
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorDevicePresence is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
enum class SecondaryAuthenticationFactorDevicePresence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum SecondaryAuthenticationFactorDevicePresence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorDevicePresence is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
public enum SecondaryAuthenticationFactorDevicePresence
var value = Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresence.absent
Public Enum SecondaryAuthenticationFactorDevicePresence
继承
SecondaryAuthenticationFactorDevicePresence
属性

Windows 要求

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

字段

名称 说明
Absent 0

系统未检测到设备。

Present 1

系统检测到设备。

适用于