Share via


SecondaryAuthenticationFactorRegistration.FinishRegisteringDeviceAsync Method

Definition

Finishes registering a 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:
 virtual IAsyncAction ^ FinishRegisteringDeviceAsync(IBuffer ^ deviceConfigurationData) = FinishRegisteringDeviceAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction FinishRegisteringDeviceAsync(IBuffer const& deviceConfigurationData);
/// [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")]
IAsyncAction FinishRegisteringDeviceAsync(IBuffer const& deviceConfigurationData);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction FinishRegisteringDeviceAsync(IBuffer deviceConfigurationData);
[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 IAsyncAction FinishRegisteringDeviceAsync(IBuffer deviceConfigurationData);
function finishRegisteringDeviceAsync(deviceConfigurationData)
Public Function FinishRegisteringDeviceAsync (deviceConfigurationData As IBuffer) As IAsyncAction

Parameters

deviceConfigurationData
IBuffer

Configuration data for the device. This data is capped at 4KB.

Returns

This method does not return a value.

Attributes

Applies to

See also