0
See Tutorials section on how to read and write from/to the registry
0
You can get the application path without having to write the path to the registry, try using System.Windows.Forms.Application.ExecutablePath to get the path of your application.
Is there any specific reason why you want to write this to the registry?