Skip to content

Method DeleteFile ​

Namespace: Belay.Core
Assembly: Belay.Core.dll

DeleteFile(string, CancellationToken) ​

Deletes a file from the device.

csharp
public Task DeleteFile(string devicePath, CancellationToken cancellationToken = default)

Parameters ​

devicePath string

The path on the device to delete.

cancellationToken CancellationToken

Cancellation token for the operation.

Returns ​

Task

Released under the Apache License 2.0.