Table of Contents

Class SetDeviceInfoResponse

Namespace
Yubico.YubiKey.U2f.Commands
Assembly
Yubico.YubiKey.dll

The response to the U2F Set Device Info command.

public sealed class SetDeviceInfoResponse : YubiKeyResponse, IYubiKeyResponse
Inheritance
object
SetDeviceInfoResponse
Implements
Inherited Members

Remarks

This is the partner response class to SetDeviceInfoCommand.

After executing the SetDeviceInfoCommand, the result is an instance of this class. There is no data to return. Simply check the Status property. If it is ResponseStatus.Success the command succeeded.

Constructors

SetDeviceInfoResponse(ResponseApdu)

Constructs a SetDeviceInfoResponse from the given ResponseApdu.

public SetDeviceInfoResponse(ResponseApdu responseApdu)

Parameters

responseApdu ResponseApdu

The response to a SetDeviceInfoCommand.

Properties

StatusCodeMap

Retrieves the details describing the processing state.

protected override YubiKeyResponse.ResponseStatusPair StatusCodeMap { get; }

Property Value

YubiKeyResponse.ResponseStatusPair

The ResponseStatus and a descriptive message, as a YubiKeyResponse.ResponseStatusPair.

Remarks

Implementers of subtypes can override this member to change or add mappings.