SubCommand Property
SubCommand
The CredentialManagement subcommand to issue to the YubiKey.
C#
public int SubCommand { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
This is a mandatory parameter, and must be one of the following values:
- getCredsMetadata (0x01)
- enumerateRPsBegin (0x02)
- enumerateRPsGetNextRP (0x03)
- enumerateCredentialsBegin (0x04)
- enumerateCredentialsGetNextCredential (0x05)
- deleteCredential (0x06)
- updateUserInformation (0x07)
Alternatively - you can use one of the command classes exposed by the SDK that represents the subcommand itself. Such a method is recommended as these command classes will only expose the parameters that are relevant to that subcommand.