Consent Verifier. Request Verification Async(String) Method
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.
Performs a verification using a device such as Microsoft Passport PIN, Windows Hello, or a fingerprint reader. This API is for Universal Windows Platform (UWP) apps. The alternative API to use for a desktop app is described in Examples in UserConsentVerifier class.
public: static IAsyncOperation<UserConsentVerificationResult> ^ RequestVerificationAsync(Platform::String ^ message);
static IAsyncOperation<UserConsentVerificationResult> RequestVerificationAsync(winrt::hstring const& message);
public static IAsyncOperation<UserConsentVerificationResult> RequestVerificationAsync(string message);
Public Shared Function RequestVerificationAsync (message As String) As IAsyncOperation(Of UserConsentVerificationResult)
A message to display to the user for this biometric verification request.
A UserConsentVerificationResult value that describes the result of the biometric verification.
See Examples in UserConsentVerifier class.
You can use the RequestVerificationAsync method to request user consent for authentication. For example, you can require fingerprint authentication before authorizing an in-app purchase, or access to restricted resources. You can use the CheckAvailabilityAsync method to determine if authentication is supported for the current computer .
Submit and view feedback for