Table of Contents

Method ReadAssemblyVersionAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

ReadAssemblyVersionAsync(CancellationToken)

Asynchronously reads the assembly version of the device.

public Task<int> ReadAssemblyVersionAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task<int>

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