[...] There is a REG QUERY command that is built into Windows. If you can run that command from within your program, then you can parse the result and get your …