public string DownloadFile(ref int fileId, out System.IO.Stream FileByteStream) { Messenger.UI.MessengerService.DownloadFileRequest inValue = new Messenger.UI.MessengerService.DownloadFileRequest(); inValue.fileId = fileId; Messenger.UI.MessengerService.DownloadFileInfo retVal = ((Messenger.UI.MessengerService.IMessengerService)(this)).DownloadFile(inValue); fileId = retVal.fileId; FileByteStream = retVal.FileByteStream; return(retVal.fileName); }
public System.Threading.Tasks.Task <Messenger.UI.MessengerService.DownloadFileInfo> DownloadFileAsync(int fileId) { Messenger.UI.MessengerService.DownloadFileRequest inValue = new Messenger.UI.MessengerService.DownloadFileRequest(); inValue.fileId = fileId; return(((Messenger.UI.MessengerService.IMessengerService)(this)).DownloadFileAsync(inValue)); }
System.Threading.Tasks.Task <Messenger.UI.MessengerService.DownloadFileInfo> Messenger.UI.MessengerService.IMessengerService.DownloadFileAsync(Messenger.UI.MessengerService.DownloadFileRequest request) { return(base.Channel.DownloadFileAsync(request)); }
Messenger.UI.MessengerService.DownloadFileInfo Messenger.UI.MessengerService.IMessengerService.DownloadFile(Messenger.UI.MessengerService.DownloadFileRequest request) { return(base.Channel.DownloadFile(request)); }