Пример #1
0
 public System.Threading.Tasks.Task <FileTransferWeb.TransferService.UploadFileResponse> UploadFileAsync(string FileName, long Length, System.IO.Stream FileByteStream)
 {
     FileTransferWeb.TransferService.RemoteFileInfo inValue = new FileTransferWeb.TransferService.RemoteFileInfo();
     inValue.FileName       = FileName;
     inValue.Length         = Length;
     inValue.FileByteStream = FileByteStream;
     return(((FileTransferWeb.TransferService.ITransferService)(this)).UploadFileAsync(inValue));
 }
Пример #2
0
 public void UploadFile(string FileName, long Length, System.IO.Stream FileByteStream)
 {
     FileTransferWeb.TransferService.RemoteFileInfo inValue = new FileTransferWeb.TransferService.RemoteFileInfo();
     inValue.FileName       = FileName;
     inValue.Length         = Length;
     inValue.FileByteStream = FileByteStream;
     FileTransferWeb.TransferService.UploadFileResponse retVal = ((FileTransferWeb.TransferService.ITransferService)(this)).UploadFile(inValue);
 }
Пример #3
0
 public long DownloadFile(ref string FileName, out System.IO.Stream FileByteStream)
 {
     FileTransferWeb.TransferService.DownloadRequest inValue = new FileTransferWeb.TransferService.DownloadRequest();
     inValue.FileName = FileName;
     FileTransferWeb.TransferService.RemoteFileInfo retVal = ((FileTransferWeb.TransferService.ITransferService)(this)).DownloadFile(inValue);
     FileName       = retVal.FileName;
     FileByteStream = retVal.FileByteStream;
     return(retVal.Length);
 }
Пример #4
0
 System.Threading.Tasks.Task <FileTransferWeb.TransferService.UploadFileResponse> FileTransferWeb.TransferService.ITransferService.UploadFileAsync(FileTransferWeb.TransferService.RemoteFileInfo request)
 {
     return(base.Channel.UploadFileAsync(request));
 }
Пример #5
0
 FileTransferWeb.TransferService.UploadFileResponse FileTransferWeb.TransferService.ITransferService.UploadFile(FileTransferWeb.TransferService.RemoteFileInfo request)
 {
     return(base.Channel.UploadFile(request));
 }