Method WriteDeviceNameAsync
WriteDeviceNameAsync(string, CancellationToken)
Asynchronously updates the display name of the device.
public Task WriteDeviceNameAsync(string name, CancellationToken cancellationToken = default)
Parameters
name
stringA string containing the name of the device. The maximum length of the specified device name is 25 characters.
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.