Hello,
I have a blazor app which consumes an API that sends documents as byte arrays.
In the header is the file name, so I can determine what sort of file it is. I am currently using the following:
DocxFormatProvider
DocFormatProvider
TxtFormatProvider
RtfFormatProvider
Which works great, for me to get a byte array that can be used with the TelerikPdfViewer.
The issue I have is, that some of the documents are email messages, specifically .msg files.
There isn't a provider for Msgs, so I wondered if anyone had a work around, to be able to show the file in the browser?
I cannot save the file as a .msg, I can only use the byte array.
Thanks
Thanks for your reply. The issue I have is, the .msg is a byte array, I do not have it as a file saved on disk, so reading it isn't a possibility without saving, which is what I was hoping to avoid.
It could be that I have no other option, but to save it, and then parse it. I just wondered if anyone had solved the issue, as the Telerik tools are great, in that they allow me to just use the byte array I receive, without the need to save them.