How do I get the installed version of Solidworks for the operating system?

Hello everyone! How do I get the installed Solidworks version of the operating system (windows)?

SolidworksApi/macros