I have the following key in my registry:
under:HKEY_LOCAL_MACHINE\\SOFTWARE\\RSA I have value object call - WebExControlManagerPath and its
HKEY_LOCAL_MACHINE\\SOFTWARE\\RSA
WebExControlManagerPath
if you are using 64 bit operating system, when you are trying to get HKEY_LOCAL_MACHINE\SOFTWARE\RSA it is actually looking for HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\RSA that is why you get null
HKEY_LOCAL_MACHINE\SOFTWARE\RSA
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\RSA