I am using Windows 10 APIs "Passport" & "Window Hello" in my WPF application.
bool keyCredentialAvailable = await KeyCredentialManager.IsSupportedAsync();
if (keyCredentialAvailable)
{
KeyCredentialRetrievalResult keyCreationResult = await KeyCredentialManager.RequestCreateAsync("Hi", KeyCredentialCreationOption.ReplaceExisting);
}
RequestCreateAsync
method opens the popup which asks for biometric or pin. Which is visible in the screenshot at the back of MainWindow.
I don't have any reference for this Popup that I can bring it in front. Also, I am calling this method on my MainWindow's Loaded
method so that it can be confirmed that Main window is loaded fully.