Show / Hide Table of Contents

GetCredentials Method

GetCredentials()

Gets all configured credentials on the YubiKey.

C#
public IList<Credential> GetCredentials()

Returns

IList<Credential>

The list of credentials.

Exceptions

Type Condition
InvalidOperationException

There is no KeyCollector loaded if the authentication is required or the ListCommand failed.

SecurityException

Unable to verify password either because KeyCollector was canceled by the user or an incorrect password was provided if authentication is required.

In this article
Back to top Generated by DocFX