So when I upload a docx file with metadata and properties like author etc, it detects the file as a zip, which in turn makes any removal of metadata or properties impossible…
using (Metadata metadata = new(newFile))
metadata.FileFormat //This is zip?
Tried the same with uploading a pdf, and it says its a mp3? Is there something wrong with reading from a stream instead of a file?
I tried loading a local file instead and it says fileformat unknown… Is it that the project is net 6 and its not supported?
I even set up at net 2.1 project, strange that you dont support any viable .net core? But I still get the same kind of errors…