EnumerateBioEnrollments Method
EnumerateBioEnrollments()
Get a list of all the bio enrollments on a YubiKey.
C#
public IReadOnlyList<TemplateInfo> EnumerateBioEnrollments()
Returns
System.Collections.Generic.IReadOnlyList<TemplateInfo>
A new List
of TemplateInfo.
Exceptions
Type | Condition |
---|---|
Ctap2DataException | The YubiKey could not return the list, likely because BioEnrollment is not supported. |
Remarks
This method returns a list of TemplateInfo, one for
each enrollment. If there are no enrollments, the list will be empty,
it will have a Count
of zero.