// Token: 0x06001CB2 RID: 7346 RVA: 0x000A5148 File Offset: 0x000A3348 public static void Transcode(string docId, string sessionId, Stream inputStream, string sourceDocType, int currentPageNumber, out int totalPageNumber, HttpResponse response) { TranscodingTaskManager.CheckInitialize(); if (string.IsNullOrEmpty(docId)) { throw new ArgumentNullException("docId"); } if (string.IsNullOrEmpty(sessionId)) { throw new ArgumentNullException("sessionId"); } if (inputStream == null) { throw new ArgumentNullException("inputStream"); } if (sourceDocType == null) { throw new ArgumentNullException("sourceDocType"); } if (currentPageNumber < 0) { throw new ArgumentException("Invalid current page number", "currentPageNumber"); } TranscodingTaskManager.transcodingTaskManager.TranscodeWorker(docId, sessionId, inputStream, sourceDocType, currentPageNumber, out totalPageNumber, response); }
// Token: 0x06001CB3 RID: 7347 RVA: 0x000A51C8 File Offset: 0x000A33C8 public static void TransmitFile(string sessionId, string documentId, string fileName, HttpResponse response) { TranscodingTaskManager.CheckInitialize(); if (string.IsNullOrEmpty(documentId)) { throw new ArgumentNullException("documentId"); } if (string.IsNullOrEmpty(fileName)) { throw new ArgumentNullException("fileName"); } if (response == null) { throw new ArgumentNullException("response"); } TranscodingTaskManager.transcodingTaskManager.cache.TransmitFile(sessionId, documentId, fileName, response); }