Getting Unity Collab version number through method

Hi,

As seen in the title, I would like to try to get Unity Collab version number through a method. For instance, if the last commit is 311, then how can I get this on a script (let’s say, as a int or string)?

Thanks,
Ivo

There is an API for the Package Manager, check this docs