Table of Contents

Method ReadHardwareVersionAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

ReadHardwareVersionAsync(CancellationToken)

Asynchronously reads the hardware version of the device.

public Task<HarpVersion> ReadHardwareVersionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<HarpVersion>

A task that represents the asynchronous read operation. The Result property contains the hardware version of the device.