示例#1
0
 public long DownloadFile(ref string FileName, out System.IO.Stream FileByteStream)
 {
     Consumer.StreamService.DownloadRequest inValue = new Consumer.StreamService.DownloadRequest();
     inValue.FileName = FileName;
     Consumer.StreamService.RemoteFileInfo retVal = ((Consumer.StreamService.IStreamService)(this)).DownloadFile(inValue);
     FileName       = retVal.FileName;
     FileByteStream = retVal.FileByteStream;
     return(retVal.Length);
 }
示例#2
0
 public System.Threading.Tasks.Task <Consumer.StreamService.RemoteFileInfo> DownloadFileAsync(string FileName)
 {
     Consumer.StreamService.DownloadRequest inValue = new Consumer.StreamService.DownloadRequest();
     inValue.FileName = FileName;
     return(((Consumer.StreamService.IStreamService)(this)).DownloadFileAsync(inValue));
 }
示例#3
0
 System.Threading.Tasks.Task <Consumer.StreamService.RemoteFileInfo> Consumer.StreamService.IStreamService.DownloadFileAsync(Consumer.StreamService.DownloadRequest request)
 {
     return(base.Channel.DownloadFileAsync(request));
 }
示例#4
0
 Consumer.StreamService.RemoteFileInfo Consumer.StreamService.IStreamService.DownloadFile(Consumer.StreamService.DownloadRequest request)
 {
     return(base.Channel.DownloadFile(request));
 }