Hello, how can I read a key from the registry?

(HKEY_LOCAL_MACHINE\SOFTWARE)