Using PDFTron.NET.x64 to Convert a File Stream to PDF

Product:PDFTron.NET.x64

Product Version: 10.8.0

Please give a brief summary of your issue:
Looking for a way to convert a file stream to PDF.

Please describe your issue and provide steps to reproduce it:
I’m working on a POC project where I need to download an Office document from Azure blob storage and convert that file stream to a PDF file. The examples that I’ve found show look like this pdftron.PDF.Convert.ToPdf(pdfdoc, “inputFilePath”) where inputFilePath is the path to the file on disk. Is there a way to pass a file stream to the PDF conversion? Or is there a way to pass the file URL to the PDF conversion?

I’ve found the answer here Convert a Docx to PDF given by a byte array by using a filter