Show / Hide Table of Contents

SetBioTemplateFriendlyName Method

SetBioTemplateFriendlyName(ReadOnlyMemory<byte>, string)

Set the friendly name of a template. If the template already has a friendly name, this will replace it.

C#
public void SetBioTemplateFriendlyName(ReadOnlyMemory<byte> templateId, string friendlyName)

Parameters

Type Name Description
ReadOnlyMemory<byte> templateId

The ID for the template which will be given the name.

string friendlyName

The friendly name you want to give the template.

Exceptions

Type Condition
ArgumentException

The YubiKey rejects the friendly name, likely because it is too long.

Remarks

If the template already has a friendly name, this method will replace it.

This method will not check to see if the YubiKey has a fingerprint entry with the given name already. In other words, using this method allows you to use the same friendly name for more than one template.

In this article
Back to top Generated by DocFX