Method ListFiles
Namespace: Belay.Core
Assembly: Belay.Core.dll
ListFiles(string, CancellationToken)
Lists files in a directory on the device.
csharp
Task<string[]> ListFiles(string devicePath = "/", CancellationToken cancellationToken = default)
Parameters
devicePath
string
The directory path on the device. Defaults to root "/".
cancellationToken
CancellationToken
Cancellation token for the operation.
Returns
Array of file names in the directory.