Method WriteFile
Namespace: Belay.Core
Assembly: Belay.Core.dll
WriteFile(string, byte[], CancellationToken)
Writes a file to the device.
csharp
public Task WriteFile(string devicePath, byte[] data, CancellationToken cancellationToken = default)Parameters
devicePath string
The path on the device where to write the file.
data byte[]
The file data to write.
cancellationToken CancellationToken
Cancellation token for the operation.