示例#1
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);
 }
示例#2
0
 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));
 }
示例#3
0
 System.Threading.Tasks.Task <FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo> FileShareConsoleClient.FIleTransferServiceReference.IFileTransferService.DownloadFileAsync(FileShareConsoleClient.FIleTransferServiceReference.DownloadRequest request)
 {
     return(base.Channel.DownloadFileAsync(request));
 }
示例#4
0
 FileShareConsoleClient.FIleTransferServiceReference.RemoteFileInfo FileShareConsoleClient.FIleTransferServiceReference.IFileTransferService.DownloadFile(FileShareConsoleClient.FIleTransferServiceReference.DownloadRequest request)
 {
     return(base.Channel.DownloadFile(request));
 }