mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
18 lines
576 B
C#
18 lines
576 B
C#
using Remotely.Desktop.Core.Services;
|
|
using Remotely.Desktop.Core.ViewModels;
|
|
using System;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Remotely.Desktop.Core.Interfaces
|
|
{
|
|
public interface IFileTransferService
|
|
{
|
|
string GetBaseDirectory();
|
|
|
|
Task ReceiveFile(byte[] buffer, string fileName, string messageId, bool endOfFile, bool startOfFile);
|
|
void OpenFileTransferWindow(Viewer viewer);
|
|
Task UploadFile(FileUpload file, Viewer viewer, CancellationToken cancelToken, Action<double> progressUpdateCallback);
|
|
}
|
|
}
|