How Can I Get The Name Of The Game From Code?

I’m writing an editor add-on, and need the code to be able to get the name of the game running the add-on. I’m using Unity Free and UnityScript.

If this is Editor add-on (I missed it when reading your question for the first time), then you need PlayerSettings.productName