I am writing a macro using ACCPACCOMAPI and was wondering how you get the Applications version

When i run my accpac session init, as part of the arguments for that function it requires i put an arbitrary number for the version

CompanySession.Init "", "CS", "CS0001", "60A".

Regardless of what version the computer is using the macro now reads 60A. And i was wondering how would i be able to get the actual version of the Sage application that i am using and not the version that i have giving the company session.