SecondaryAuthenticationFactorRegistration.IsDevicePresenceMonitoringSupported 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
已弃用。 检查main设备是否能够监视是否存在配套设备。
注意
此 API 并非适用于所有应用。 除非你的开发人员帐户由 Microsoft 专门预配为使用 secondaryAuthenticationFactor 功能,否则对此 API 的调用将失败。 若要申请批准,请联系 cdfonboard@microsoft.com。 有关功能的详细信息,请参阅 应用功能声明。 有关配套设备框架的概述,请参阅 Windows 解锁与配套 (IoT) 设备 概述。
public:
static bool IsDevicePresenceMonitoringSupported();
static bool IsDevicePresenceMonitoringSupported();
/// [Windows.Foundation.Metadata.Deprecated("IsDevicePresenceMonitoringSupported is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
static bool IsDevicePresenceMonitoringSupported();
public static bool IsDevicePresenceMonitoringSupported();
[Windows.Foundation.Metadata.Deprecated("IsDevicePresenceMonitoringSupported is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
public static bool IsDevicePresenceMonitoringSupported();
function isDevicePresenceMonitoringSupported()
Public Shared Function IsDevicePresenceMonitoringSupported () As Boolean
返回
Boolean
bool
如果设备可以监视配套设备,则值为 true ,否则 为 false。
- 属性
Windows 要求
| 要求 | 说明 |
|---|---|
| 设备系列 |
Windows 10 Creators Update (在 10.0.15063.0 中引入)
|
| API contract |
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)
|