IGetPagedDeviceInfoCommand<T> Interface
Namespace: Yubico.YubiKey Assembly: Yubico.YubiKey.dllDefines the contract for a command to retrieve paged device information associated with a YubiKey.
C#
public interface IGetPagedDeviceInfoCommand<out T> : IYubiKeyCommand<T> where T : IYubiKeyResponseWithData<Dictionary<int, ReadOnlyMemory<byte>>>
Type Parameters
Class.Header.Syntax.TypeParameters:Name | Description |
---|---|
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<> of bytes. This dictionary represents the paged data, with each entry corresponding to a different page of Tlv-encoded device information. |
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
Name | Description |
---|---|
Page | Gets or sets the page number of the device information to retrieve |