SecondaryAuthenticationFactorInfo.PresenceMonitoringMode Property
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. Gets the presence monitoring mode of the companion device (the mechanism by which the main device checks the presence of the companion 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:
property SecondaryAuthenticationFactorDevicePresenceMonitoringMode PresenceMonitoringMode { SecondaryAuthenticationFactorDevicePresenceMonitoringMode get(); };
SecondaryAuthenticationFactorDevicePresenceMonitoringMode PresenceMonitoringMode();
/// [get: Windows.Foundation.Metadata.Deprecated("PresenceMonitoringMode is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
SecondaryAuthenticationFactorDevicePresenceMonitoringMode PresenceMonitoringMode();
public SecondaryAuthenticationFactorDevicePresenceMonitoringMode PresenceMonitoringMode { get; }
public SecondaryAuthenticationFactorDevicePresenceMonitoringMode PresenceMonitoringMode { [Windows.Foundation.Metadata.Deprecated("PresenceMonitoringMode 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 secondaryAuthenticationFactorDevicePresenceMonitoringMode = secondaryAuthenticationFactorInfo.presenceMonitoringMode;
Public ReadOnly Property PresenceMonitoringMode As SecondaryAuthenticationFactorDevicePresenceMonitoringMode
Property Value
A SecondaryAuthenticationFactorDevicePresenceMonitoringMode value describing the monitoring mode.
- Attributes
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|