C# Access 64 bit Registry

Viewed 9319

I was wondering if it was possible to access the following registry key in C# on a 64 bit pc.

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

When accessing on a 32bit pc it works fine but on 64 it re - directs it to the native 64bit path of HKLM\SOFTWARE\Wow6432Node which has different keys. I have looked through various articles on this but can't really find a definite answer on how to access the 32bit key in a 64bit pc in C#. Thanks.

5 Answers
Related