Remotely/Desktop.Core/Interfaces/IFileTransferService.cs

19 lines
553 B
C#

using Remotely.Desktop.Core.Services;
using Remotely.Desktop.Core.ViewModels;
using System;
using System.Collections.Generic;
using System.Text;
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(Services.Viewer viewer);
Task UploadFile(FileUpload file, Services.Viewer viewer);
}
}