Beispiel #1
0
        public static Products Product()
        {
            Products loadedversion = Products.ACAD;

            switch (Registry_Helpers.GetCurrentProductCode())
            {
            case "001":
                loadedversion = Products.ACAD;
                break;
            }

            return(loadedversion);
        }
Beispiel #2
0
        public static string Language()
        {
            string language = string.Empty;

            switch (Registry_Helpers.GetCurrentLanguageCode())
            {
            case "409":
                language = "en-US";
                break;

            case "804":
                language = "zh-cn";
                break;
            }

            return(language);
        }
Beispiel #3
0
        public static Versions Version()
        {
            string currentrelease = Registry_Helpers.GetCurrentRelease();

            return(VersionInfo(currentrelease).Item3);
        }
Beispiel #4
0
        public static Years Year()
        {
            string currentrelease = Registry_Helpers.GetCurrentRelease();

            return(VersionInfo(currentrelease).Item2);
        }