I have developed an application and installed it on a client computer. In my application I need to get its installation path. My application has a registry entry at:
HKEY_LOCAL_MACHINE\SOFTWARE\MyApplication\[AppPath]
How can I read AppPath
using C#?
You're looking for the cunningly named Registry.GetValue
method.