How to know platform version in the code?

Yes,