public long DownLoadFile(string FileName, out bool IsSuccess, out string Message, out System.IO.Stream FileStream)
 {
     FileApp.FileService.DownFile inValue = new FileApp.FileService.DownFile();
     inValue.FileName = FileName;
     FileApp.FileService.DownFileResult retVal = ((FileApp.FileService.IFileService)(this)).DownLoadFile(inValue);
     IsSuccess  = retVal.IsSuccess;
     Message    = retVal.Message;
     FileStream = retVal.FileStream;
     return(retVal.FileSize);
 }
 public System.Threading.Tasks.Task <FileApp.FileService.DownFileResult> DownLoadFileAsync(string FileName)
 {
     FileApp.FileService.DownFile inValue = new FileApp.FileService.DownFile();
     inValue.FileName = FileName;
     return(((FileApp.FileService.IFileService)(this)).DownLoadFileAsync(inValue));
 }
 System.Threading.Tasks.Task <FileApp.FileService.DownFileResult> FileApp.FileService.IFileService.DownLoadFileAsync(FileApp.FileService.DownFile request)
 {
     return(base.Channel.DownLoadFileAsync(request));
 }
 FileApp.FileService.DownFileResult FileApp.FileService.IFileService.DownLoadFile(FileApp.FileService.DownFile request)
 {
     return(base.Channel.DownLoadFile(request));
 }