Example #1
0
 public System.Threading.Tasks.Task <FileShareConsoleClient.FIleTransferServiceReference.UploadFileResponse> UploadFileAsync(string FileName, long Length, System.IO.Stream FileByteStream)
 {
     FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo inValue = new FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo();
     inValue.FileName       = FileName;
     inValue.Length         = Length;
     inValue.FileByteStream = FileByteStream;
     return(((FileShareConsoleClient.FIleTransferServiceReference.IFileTransferService)(this)).UploadFileAsync(inValue));
 }
Example #2
0
 public void UploadFile(string FileName, long Length, System.IO.Stream FileByteStream)
 {
     FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo inValue = new FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo();
     inValue.FileName       = FileName;
     inValue.Length         = Length;
     inValue.FileByteStream = FileByteStream;
     FileShareConsoleClient.FIleTransferServiceReference.UploadFileResponse retVal = ((FileShareConsoleClient.FIleTransferServiceReference.IFileTransferService)(this)).UploadFile(inValue);
 }
Example #3
0
 public long DownloadFile(ref string FileName, out System.IO.Stream FileByteStream)
 {
     FileShareConsoleClient.FIleTransferServiceReference.DownloadRequest inValue = new FileShareConsoleClient.FIleTransferServiceReference.DownloadRequest();
     inValue.FileName = FileName;
     FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo retVal = ((FileShareConsoleClient.FIleTransferServiceReference.IFileTransferService)(this)).DownloadFile(inValue);
     FileName       = retVal.FileName;
     FileByteStream = retVal.FileByteStream;
     return(retVal.Length);
 }
Example #4
0
 System.Threading.Tasks.Task <FileShareConsoleClient.FIleTransferServiceReference.UploadFileResponse> FileShareConsoleClient.FIleTransferServiceReference.IFileTransferService.UploadFileAsync(FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo request)
 {
     return(base.Channel.UploadFileAsync(request));
 }
Example #5
0
 FileShareConsoleClient.FIleTransferServiceReference.UploadFileResponse FileShareConsoleClient.FIleTransferServiceReference.IFileTransferService.UploadFile(FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo request)
 {
     return(base.Channel.UploadFile(request));
 }