Table of Contents

Interface IGetPagedDeviceInfoCommand<T>

Namespace
Yubico.YubiKey
Assembly
Yubico.YubiKey.dll

Defines the contract for a command to retrieve paged device information associated with a YubiKey.

public interface IGetPagedDeviceInfoCommand<out T> : IYubiKeyCommand<T> where T : IYubiKeyResponseWithData<Dictionary<int, ReadOnlyMemory<byte>>>

Type Parameters

T

The type of the response expected from the command, which must implement the IYubiKeyResponseWithData<TData> interface, where TData is a dictionary mapping integers to System.ReadOnlyMemory<T> of bytes. This dictionary represents the paged data, with each entry corresponding to a different page of Tlv-encoded device information.

Inherited Members

Remarks

Implementors should ensure that the command handles pagination correctly and that the Page property is utilized to request specific pages of device information.

Properties

Page

Gets or sets the page number of the device information to retrieve

byte Page { get; set; }

Property Value

byte