SubCommand Property
SubCommand
The BioEnrollment subcommand to issue to the YubiKey.
C#
public int SubCommand { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This is a mandatory parameter, and must be one of the following values:
- enrollBegin (0x01)
- enrollCaptureNextSample (0x02)
- cancelCurrentEnrollment (0x03)
- enumerateEnrollments (0x04)
- setFriendlyName (0x05)
- removeEnrollment (0x06)
- getFingerprintSensorInfo (0x07)
There is one other value this property can possess, and that is zero
for getModality
. The standard does not list getModality
as a subcommand, but specifies getModality
as an operation of
authenticatorBioEnrollment
executed as a subcommand. That is,
getModality
is a subcommand, but not documented as such. If
the SubCommand
property is set to zero, then this class will
build the BioEnrollment command to perform getModality
.