<PackageReference Include="Relativity.Transfer.Client" Version="7.2.26" />

IFileShareService

public interface IFileShareService
using Relativity.Transfer.Dto; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Relativity.Transfer { public interface IFileShareService { Task<bool> ItemExistsAsync(string path, CancellationToken token); Task<bool> ItemsExistAsync(IEnumerable<string> paths, CancellationToken token); Task<bool> DirectoryEmptyAsync(string path, CancellationToken token); Task<FileShareItem> GetFileShareItemAsync(string path, CancellationToken token); Task<IEnumerable<FileShareItem>> GetFileShareItemsAsync(IEnumerable<string> directories, IEnumerable<string> files, CancellationToken token); Task<BrowseDirectoryResponseDto> BrowseDirectoryAsync(string path, int page, int pageSize, int enumerateMax, CancellationToken token); Task<QueryPropertiesResponseDto> GetItemAttributesAsync(string path, CancellationToken token); Task DeleteDirectoriesAsync(IEnumerable<string> paths, CancellationToken token); Task DeleteFilesAsync(IEnumerable<string> paths, CancellationToken token); } }