public static string GetProgramVersion(string programCode)
{
var document = XDocument.Load(new StringReader(programCode));
document.Declaration = new XDeclaration("1.0", "UTF-8", "yes");
var program = document.Element("program");
var header = program.Element("header");
var programName = header.Element("catrobatLanguageVersion");
return programName.Value;
}