Method ReadFile
Namespace: Belay.Core
Assembly: Belay.Core.dll
ReadFile(string, CancellationToken)
Reads a file from the device.
csharp
public Task<byte[]> ReadFile(string devicePath, CancellationToken cancellationToken = default)
Parameters
devicePath
string
The path on the device to read from.
cancellationToken
CancellationToken
Cancellation token for the operation.
Returns
The file data from the device.