FirmwareVersion Property
FirmwareVersion
The version of the firmware on the YubiKey. Note that this is an
int
, not an instance of the FirmwareVersion
class. The
standard specifies returning an int.
This property is OPTIONAL, and if the YubiKey provides no value, this
will be null.
C#
public Nullable<int> FirmwareVersion { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Remarks
If you examine the result as a hexadecimal 32-bit value, the major, minor, and Patch numbers will be bytes 2, 1, and 0. For example, if the YubiKey's firmware is vers 5.4.2, then the result will be decimal 328,706, which in hex is 0x00050402.