neilharvey / FileSignatures

A small library for detecting the type of a file based on header signature (also known as magic number).
MIT License
250 stars 41 forks source link

Fix storage files #13

Closed mexvod closed 5 years ago

mexvod commented 5 years ago

i can't find what media type vsdx (new file open office). so much application/vnd.visio? I do not know.

neilharvey commented 5 years ago

Hey, thanks for the fix - code looks good. OpenMCDF was one of the libraries that I tried using to read the CLSID from your problem Excel file, so it was interesting you managed to get it working with the storage instead.

Not sure about what the the correct media type for a VSDX is, even the Microsoft documents aren't clear (even though they specify the media type for all the parts which comprise a diagram). I'll just use the type you've specified for the time being.

neilharvey commented 5 years ago

Thanks again - I've pushed a new NuGet package with your changes in. Should be listed soon!