RequestWindowsPIN
you can verify your users by requesting windows pin
1 | bool result = await CredentialHelper.RequestWindowsPIN("Please Enter your OS Pin so we can verify its you!"); |
PickCredential
Get username and password with Windows Credential Picker
1 | CredentialPickerResults result = await CredentialHelper.PickCredential("Caption", "Message"); |
AddPasswordCredential
Add password to Windows Credential
1 | CredentialHelper.AddPasswordCredential("myResource", "username", "password"); |
GetPasswordCredential
Get password from Windows Credential
1 | PasswordCredential result = CredentialHelper.GetPasswordCredential("myResource", "username"); |
RemovePasswordCredential
Remove password from Windows Credential
1 | CredentialHelper.RemovePasswordCredential("myResource", "username"); |
Demo
you can run demo and see this feature.