コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }