Esempio n. 1
0
 public long DownloadFile(ref string FileName, out System.IO.Stream FileByteStream)
 {
     CryptoApp.CloudServiceReference.DownloadRequest inValue = new CryptoApp.CloudServiceReference.DownloadRequest();
     inValue.FileName = FileName;
     CryptoApp.CloudServiceReference.RemoteFileInfo retVal = ((CryptoApp.CloudServiceReference.ICloudService)(this)).DownloadFile(inValue);
     FileName       = retVal.FileName;
     FileByteStream = retVal.FileByteStream;
     return(retVal.Length);
 }
Esempio n. 2
0
 public System.Threading.Tasks.Task <CryptoApp.CloudServiceReference.RemoteFileInfo> DownloadFileAsync(string FileName)
 {
     CryptoApp.CloudServiceReference.DownloadRequest inValue = new CryptoApp.CloudServiceReference.DownloadRequest();
     inValue.FileName = FileName;
     return(((CryptoApp.CloudServiceReference.ICloudService)(this)).DownloadFileAsync(inValue));
 }
Esempio n. 3
0
 System.Threading.Tasks.Task <CryptoApp.CloudServiceReference.RemoteFileInfo> CryptoApp.CloudServiceReference.ICloudService.DownloadFileAsync(CryptoApp.CloudServiceReference.DownloadRequest request)
 {
     return(base.Channel.DownloadFileAsync(request));
 }
Esempio n. 4
0
 CryptoApp.CloudServiceReference.RemoteFileInfo CryptoApp.CloudServiceReference.ICloudService.DownloadFile(CryptoApp.CloudServiceReference.DownloadRequest request)
 {
     return(base.Channel.DownloadFile(request));
 }