Table of Contents

Method ReadWhoAmIAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

ReadWhoAmIAsync(CancellationToken)

Asynchronously reads the identity class of the device.

public Task<int> ReadWhoAmIAsync(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 identity class of the device.