Show / Hide Table of Contents

IGetPagedDeviceInfoCommand<T> Interface

Namespace: Yubico.YubiKey Assembly: Yubico.YubiKey.dll

Defines 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<T> 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

In this article
Back to top Generated by DocFX