SecondaryAuthenticationFactorDevicePresence Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deprecated. Contains values that describe the presence of a companion device (such as a wearable device).
Note
This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft to use the secondaryAuthenticationFactor capability, calls to this API will fail. To apply for approval, contact cdfonboard@microsoft.com. For more information on capabilities, see App capability declarations. For an overview of the Companion Device Framework, see the Windows Unlock with companion (IoT) devices overview.
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
- Inheritance
-
SecondaryAuthenticationFactorDevicePresence
- Attributes
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Fields
Name | Value | Description |
---|---|---|
Absent | 0 | The device is not detected by the system. |
Present | 1 | The device is detected by the system. |