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); }
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)); }
System.Threading.Tasks.Task <CryptoApp.CloudServiceReference.RemoteFileInfo> CryptoApp.CloudServiceReference.ICloudService.DownloadFileAsync(CryptoApp.CloudServiceReference.DownloadRequest request) { return(base.Channel.DownloadFileAsync(request)); }
CryptoApp.CloudServiceReference.RemoteFileInfo CryptoApp.CloudServiceReference.ICloudService.DownloadFile(CryptoApp.CloudServiceReference.DownloadRequest request) { return(base.Channel.DownloadFile(request)); }