SetDeviceInfoBaseCommand Class
Namespace: Yubico.YubiKey.Management.Commands Assembly: Yubico.YubiKey.dllBase class for SetDeviceInfoCommand for Management, OTP and FIDO applications.
public class SetDeviceInfoBaseCommand : Object
Constructors
Name | Description |
---|---|
SetDeviceInfoBaseCommand() | Initializes a new instance of the SetDeviceInfoBaseCommand class. |
SetDeviceInfoBaseCommand(SetDeviceInfoBaseCommand) |
Fields
Name | Description |
---|---|
LockCodeLength | The length that a configuration lock code must be. |
Properties
Name | Description |
---|---|
AutoEjectTimeout | The CCID auto-eject timeout (in seconds). This field is only meaningful if the TouchEject flag in DeviceFlags is set. null to leave unchanged. |
ChallengeResponseTimeout | The period of time (in seconds) after which the OTP challenge-response command should timeout. null to leave unchanged. |
DeviceFlags | Device flags that can control device-global behavior. null to leave unchanged. |
EnabledNfcCapabilities | The features of the YubiKey that should be enabled over NFC. null to leave unchanged. |
EnabledUsbCapabilities | The features of the YubiKey that should be enabled over USB. null to leave unchanged. |
ResetAfterConfig | Resets (reboots) the YubiKey after the successful application of all configuration updates. Useful if enabling or disabling capabilities. |
RestrictNfc | Allows setting of the IsNfcRestricted property |
TemporaryTouchThreshold | Temporarily set the threshold at which a capacitive touch should be considered active. |
Methods
Name | Description |
---|---|
ApplyLockCode(ReadOnlySpan<Byte>) | Temporarily unlocks the YubiKey's configuration by applying the lock code. |
GetDataForApdu() | Formats the data to be sent to the YubiKey. |
SetLockCode(ReadOnlySpan<Byte>) | Locks the YubiKey's configuration with a code. Any subsequent calls to the SetDeviceInfoBaseCommand class will need to unlock the YubiKey using the ApplyLockCode(ReadOnlySpan<Byte>) method. |