<PackageReference Include="Relativity.Server.Transfer.SDK" Version="7.7.0" />

Relativity.Transfer.FileIO

namespace Relativity.Transfer { internal class FileIO { public event BeginFillCompletedEventHandler BeginFillCompleted; public event FileFillCompletedEventHandler FileFillCompleted; public event RemoveFillCompletedEventHandler RemoveFillCompleted; public event RemoveTempFileCompletedEventHandler RemoveTempFileCompleted; public event ReadFileAsStringCompletedEventHandler ReadFileAsStringCompleted; public event GetBcpSharePathCompletedEventHandler GetBcpSharePathCompleted; public event ValidateBcpShareCompletedEventHandler ValidateBcpShareCompleted; public event GetBcpShareSpaceReportCompletedEventHandler GetBcpShareSpaceReportCompleted; public event GetDefaultRepositorySpaceReportCompletedEventHandler GetDefaultRepositorySpaceReportCompleted; public event RepositoryVolumeMaxCompletedEventHandler RepositoryVolumeMaxCompleted; public FileIO(); public IoResponse BeginFill(int caseContextArtifactID, byte[] b, string documentDirectory, string fileGuid); public IAsyncResult BeginBeginFill(int caseContextArtifactID, byte[] b, string documentDirectory, string fileGuid, AsyncCallback callback, object asyncState); public IoResponse EndBeginFill(IAsyncResult asyncResult); public void BeginFillAsync(int caseContextArtifactID, byte[] b, string documentDirectory, string fileGuid); public void BeginFillAsync(int caseContextArtifactID, byte[] b, string documentDirectory, string fileGuid, object userState); public IoResponse FileFill(int caseContextArtifactID, string documentDirectory, string fileName, byte[] b); public IAsyncResult BeginFileFill(int caseContextArtifactID, string documentDirectory, string fileName, byte[] b, AsyncCallback callback, object asyncState); public IoResponse EndFileFill(IAsyncResult asyncResult); public void FileFillAsync(int caseContextArtifactID, string documentDirectory, string fileName, byte[] b); public void FileFillAsync(int caseContextArtifactID, string documentDirectory, string fileName, byte[] b, object userState); public void RemoveFill(int caseContextArtifactID, string documentDirectory, string fileName); public IAsyncResult BeginRemoveFill(int caseContextArtifactID, string documentDirectory, string fileName, AsyncCallback callback, object asyncState); public void EndRemoveFill(IAsyncResult asyncResult); public void RemoveFillAsync(int caseContextArtifactID, string documentDirectory, string fileName); public void RemoveFillAsync(int caseContextArtifactID, string documentDirectory, string fileName, object userState); public void RemoveTempFile(int caseContextArtifactID, string fileName); public IAsyncResult BeginRemoveTempFile(int caseContextArtifactID, string fileName, AsyncCallback callback, object asyncState); public void EndRemoveTempFile(IAsyncResult asyncResult); public void RemoveTempFileAsync(int caseContextArtifactID, string fileName); public void RemoveTempFileAsync(int caseContextArtifactID, string fileName, object userState); public byte[] ReadFileAsString(string path); public IAsyncResult BeginReadFileAsString(string path, AsyncCallback callback, object asyncState); public byte[] EndReadFileAsString(IAsyncResult asyncResult); public void ReadFileAsStringAsync(string path); public void ReadFileAsStringAsync(string path, object userState); public string GetBcpSharePath(int caseContextArtifactID); public IAsyncResult BeginGetBcpSharePath(int caseContextArtifactID, AsyncCallback callback, object asyncState); public string EndGetBcpSharePath(IAsyncResult asyncResult); public void GetBcpSharePathAsync(int caseContextArtifactID); public void GetBcpSharePathAsync(int caseContextArtifactID, object userState); public bool ValidateBcpShare(int caseContextArtifactID); public IAsyncResult BeginValidateBcpShare(int caseContextArtifactID, AsyncCallback callback, object asyncState); public bool EndValidateBcpShare(IAsyncResult asyncResult); public void ValidateBcpShareAsync(int caseContextArtifactID); public void ValidateBcpShareAsync(int caseContextArtifactID, object userState); public string[][] GetBcpShareSpaceReport(int caseContextArtifactID); public IAsyncResult BeginGetBcpShareSpaceReport(int caseContextArtifactID, AsyncCallback callback, object asyncState); public string[][] EndGetBcpShareSpaceReport(IAsyncResult asyncResult); public void GetBcpShareSpaceReportAsync(int caseContextArtifactID); public void GetBcpShareSpaceReportAsync(int caseContextArtifactID, object userState); public string[][] GetDefaultRepositorySpaceReport(int caseContextArtifactID); public IAsyncResult BeginGetDefaultRepositorySpaceReport(int caseContextArtifactID, AsyncCallback callback, object asyncState); public string[][] EndGetDefaultRepositorySpaceReport(IAsyncResult asyncResult); public void GetDefaultRepositorySpaceReportAsync(int caseContextArtifactID); public void GetDefaultRepositorySpaceReportAsync(int caseContextArtifactID, object userState); public int RepositoryVolumeMax(); public IAsyncResult BeginRepositoryVolumeMax(AsyncCallback callback, object asyncState); public int EndRepositoryVolumeMax(IAsyncResult asyncResult); public void RepositoryVolumeMaxAsync(); public void RepositoryVolumeMaxAsync(object userState); public void CancelAsync(object userState); } }