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#?
see this http://www.codeproject.com/Articles/3389/Read-write-and-delete-from-registry-with-C
Updated:
You can use
RegistryKeyclass underMicrosoft.Win32namespace.Some important functions of
RegistryKeyare as follows: