Skip to content

Method PutFileAsync

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

PutFileAsync(string, string, CancellationToken)

Transfer a file from the local system to the device.

csharp
public Task PutFileAsync(string localPath, string remotePath, CancellationToken cancellationToken = default)

Parameters

localPath string

Path to the local file.

remotePath string

Path where the file should be stored on the device.

cancellationToken CancellationToken

Cancellation token.

Returns

Task

A task representing the asynchronous operation.

Released under the Apache License 2.0.