コード例 #1
0
 public string DownloadFile(string IPAddress, ref string Key, int TopRecord, string Type, out string FilePath, out long Length, out int RowVersion, out int TotalRecord, out bool isSuccess, out System.IO.Stream FileByteStream)
 {
     vnyi.ServiceClient.ServerTransfer.DownloadRequest inValue = new vnyi.ServiceClient.ServerTransfer.DownloadRequest();
     inValue.IPAddress = IPAddress;
     inValue.Key       = Key;
     inValue.TopRecord = TopRecord;
     inValue.Type      = Type;
     vnyi.ServiceClient.ServerTransfer.RemoteFileInfo retVal = ((vnyi.ServiceClient.ServerTransfer.ITransferService)(this)).DownloadFile(inValue);
     FilePath       = retVal.FilePath;
     Key            = retVal.Key;
     Length         = retVal.Length;
     RowVersion     = retVal.RowVersion;
     TotalRecord    = retVal.TotalRecord;
     isSuccess      = retVal.isSuccess;
     FileByteStream = retVal.FileByteStream;
     return(retVal.FileName);
 }
コード例 #2
0
 vnyi.ServiceClient.ServerTransfer.RemoteFileInfo vnyi.ServiceClient.ServerTransfer.ITransferService.DownloadFile(vnyi.ServiceClient.ServerTransfer.DownloadRequest request)
 {
     return(base.Channel.DownloadFile(request));
 }