Table of Contents

Method WriteDeviceNameAsync

Namespace
Bonsai.Harp
Assembly
Bonsai.Harp.dll

WriteDeviceNameAsync(string, CancellationToken)

Asynchronously updates the display name of the device.

public Task WriteDeviceNameAsync(string name, CancellationToken cancellationToken = default)

Parameters

name string

A string containing the name of the device. The maximum length of the specified device name is 25 characters.

cancellationToken CancellationToken

A CancellationToken which can be used to cancel the operation.

Returns

Task

The task object representing the asynchronous write operation.