Show / Hide Table of Contents

SubCommand Property

SubCommand

The Client PIN subcommand to issue to the YubiKey.

C#
public int SubCommand { get; set; }

Property Value

Type Description
int

Remarks

This is a mandatory parameter, and must be one of the following values:

  • GetPinRetries (0x01)
  • GetKeyAgreement (0x02)
  • SetPIN (0x03)
  • ChangePIN (0x04)
  • GetPinToken (0x05)
  • GetPinUvAuthTokenUsingUvWithPermissions (0x06)
  • GetUVRetries (0x07)
  • GetPinUvAuthTokenUsingPinWithPermissions (0x09)

Alternatively - you can use one of the command classes exposed by the SDK that represents the subcommand itself. This method is recommended as these command classes will only expose the parameters that are relevant to that subcommand.

In this article
Back to top Generated by DocFX