Share via


SecondaryAuthenticationFactorRegistration.FindAllRegisteredDeviceInfoAsync Method

Definition

Returns info on found registered devices.

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:
 static IAsyncOperation<IVectorView<SecondaryAuthenticationFactorInfo ^> ^> ^ FindAllRegisteredDeviceInfoAsync(SecondaryAuthenticationFactorDeviceFindScope queryType);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<SecondaryAuthenticationFactorInfo>> FindAllRegisteredDeviceInfoAsync(SecondaryAuthenticationFactorDeviceFindScope const& queryType);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<IVectorView<SecondaryAuthenticationFactorInfo>> FindAllRegisteredDeviceInfoAsync(SecondaryAuthenticationFactorDeviceFindScope const& queryType);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<SecondaryAuthenticationFactorInfo>> FindAllRegisteredDeviceInfoAsync(SecondaryAuthenticationFactorDeviceFindScope queryType);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorRegistration is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 655360, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<IReadOnlyList<SecondaryAuthenticationFactorInfo>> FindAllRegisteredDeviceInfoAsync(SecondaryAuthenticationFactorDeviceFindScope queryType);
function findAllRegisteredDeviceInfoAsync(queryType)
Public Shared Function FindAllRegisteredDeviceInfoAsync (queryType As SecondaryAuthenticationFactorDeviceFindScope) As IAsyncOperation(Of IReadOnlyList(Of SecondaryAuthenticationFactorInfo))

Parameters

queryType
SecondaryAuthenticationFactorDeviceFindScope

The scope of devices to find.

Returns

When this method completes, it returns device info for the found registered devices.

Attributes

Applies to

See also