Get current unity3d version

Hello:

I am writing a build utility function which generates asset bundles. I have implemented incremental building of assets. I want to ensure that when ever there is update in Unity3d version I want to ensure to build all the asset bundles again. Can anybody tell me how to get current version of Unity3d using script (C#/Javascript).
Thanks

Use Application.unityVersion I believe: