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); }
public System.Threading.Tasks.Task <FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo> DownloadFileAsync(string FileName) { FileShareConsoleClient.FIleTransferServiceReference.DownloadRequest inValue = new FileShareConsoleClient.FIleTransferServiceReference.DownloadRequest(); inValue.FileName = FileName; return(((FileShareConsoleClient.FIleTransferServiceReference.IFileTransferService)(this)).DownloadFileAsync(inValue)); }
System.Threading.Tasks.Task <FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo> FileShareConsoleClient.FIleTransferServiceReference.IFileTransferService.DownloadFileAsync(FileShareConsoleClient.FIleTransferServiceReference.DownloadRequest request) { return(base.Channel.DownloadFileAsync(request)); }
FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo FileShareConsoleClient.FIleTransferServiceReference.IFileTransferService.DownloadFile(FileShareConsoleClient.FIleTransferServiceReference.DownloadRequest request) { return(base.Channel.DownloadFile(request)); }