public string RunCalculation(string Filename, string UserToken, ref System.IO.Stream FileByteStream) { MAF.TextAnalytics.TextAnalyticsServiceReference.FileUploadMessage inValue = new MAF.TextAnalytics.TextAnalyticsServiceReference.FileUploadMessage(); inValue.Filename = Filename; inValue.UserToken = UserToken; inValue.FileByteStream = FileByteStream; MAF.TextAnalytics.TextAnalyticsServiceReference.FileDownloadReturnMessage retVal = ((MAF.TextAnalytics.TextAnalyticsServiceReference.ITextAnalyticsService)(this)).RunCalculation(inValue); FileByteStream = retVal.FileByteStream; return(retVal.DownloadedFilename); }
public string GetResultFile(string MD5, out System.IO.Stream FileByteStream) { MAF.TextAnalytics.TextAnalyticsServiceReference.FileDownloadMessage inValue = new MAF.TextAnalytics.TextAnalyticsServiceReference.FileDownloadMessage(); inValue.MD5 = MD5; MAF.TextAnalytics.TextAnalyticsServiceReference.FileDownloadReturnMessage retVal = ((MAF.TextAnalytics.TextAnalyticsServiceReference.ITextAnalyticsService)(this)).GetResultFile(inValue); FileByteStream = retVal.FileByteStream; return(retVal.DownloadedFilename); }