Show / Hide Table of Contents

UnsetPassword Method

UnsetPassword()

Unsets the password.

C#
public void UnsetPassword()

Exceptions

Type Condition
InvalidOperationException

There is no KeyCollector loaded. Or the SetPasswordCommand failed.

OperationCanceledException

The user canceled password collection.

SecurityException

Unable to verify password either because the authentication is not enabled on the YubiKey or the incorrect password was provided.

Remarks

Removes the authentication.

In this article
Back to top Generated by DocFX