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); }
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)); }
System.Threading.Tasks.Task <Consumer.StreamService.RemoteFileInfo> Consumer.StreamService.IStreamService.DownloadFileAsync(Consumer.StreamService.DownloadRequest request) { return(base.Channel.DownloadFileAsync(request)); }
Consumer.StreamService.RemoteFileInfo Consumer.StreamService.IStreamService.DownloadFile(Consumer.StreamService.DownloadRequest request) { return(base.Channel.DownloadFile(request)); }