예제 #1
0
        public string GetVersionFromRegistry()
        {
            var registryUtility = new RegistryUtility(registryLlvmUninstall);
            var version         = registryUtility.ReadLocalMachineKey(keyDisplayVersion);

            if (version == null)
            {
                return(string.Empty);
            }

            return(version);
        }
예제 #2
0
        public string GetLlvmPathFromRegistry()
        {
            var registryUtility = new RegistryUtility(registryLlvm);
            var path            = registryUtility.ReadLocalMachineKey(keyInstallPath);

            if (path == null)
            {
                return(string.Empty);
            }

            return(Path.Combine(path, "bin"));
        }