Method DeleteFileAsync
Namespace: Belay.Sync
Assembly: Belay.Sync.dll
DeleteFileAsync(string, CancellationToken)
Deletes a file from the device.
csharp
Task DeleteFileAsync(string path, CancellationToken cancellationToken = default)
Parameters
path
string
The file path to delete.
cancellationToken
CancellationToken
Cancellation token to cancel the operation.
Returns
Exceptions
Thrown when the file does not exist.
Thrown when access is denied.