/** * Opens the specified key path and reads the specified value from the local machine settings. */ public static String readKeyValueLocalMachine(String keyPath, String valueName) { return readKeyValue(HKEY_LOCAL_MACHINE, keyPath, valueName); }
/** * Opens the specified key path and reads the specified value from the current user settings. * * @param valueName name of value */ public static String readKeyValueCurrentUser(String keyPath, String valueName) { return readKeyValue(HKEY_CURRENT_USER, keyPath, valueName); }