I'm looking for a way to recognize SolidWorks files from version 2015.
Is there a magic byte sequence somewhere,
by which SLDDRW, SLDASM, SLDPRT etc can be detected ?
Have a look at this thread, might help you. Re: How to know version Solidworks
thank you for pointing out the article. The first approach Searching for something like _MO_VERSION within the file worked til 2015.
Since 2015 - for whatever reason - they scrambled the stream names. Its easy to unscramble but better would be to have
a documented way.
2015 SOLIDWORKS API Help - GetVersion Method (ISwDMDocument)
DM is not an option. The Program classifies unknown file content and runs platform independent.
Retrieving data ...