public string GetVersionFromRegistry() { var registryUtility = new RegistryUtility(registryLlvmUninstall); var version = registryUtility.ReadLocalMachineKey(keyDisplayVersion); if (version == null) { return(string.Empty); } return(version); }
public string GetLlvmPathFromRegistry() { var registryUtility = new RegistryUtility(registryLlvm); var path = registryUtility.ReadLocalMachineKey(keyInstallPath); if (path == null) { return(string.Empty); } return(Path.Combine(path, "bin")); }