コード例 #1
0
        public static Products Product()
        {
            Products loadedversion = Products.ACAD;

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

            return(loadedversion);
        }
コード例 #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);
        }
コード例 #3
0
        public static Versions Version()
        {
            string currentrelease = Registry_Helpers.GetCurrentRelease();

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

            return(VersionInfo(currentrelease).Item2);
        }