GiD customization manual : GiD_Info gidversion

GiD_Info GiDVersion
This command returns the GiD version number. For example 10.0.8