How to create a registry entry from a c# application?
<p>I am developing a windows application in .NET framework, using C#. At the time of application installation I want to write into the registry a certain value. So I have two questions regarding this :</p>

<ol>
<li><p>How can I execute a code for creating a registry entry at time of installation or there is some settings in the framework which allows us to do so ?</p></li>
<li><p>I don't want to create a new node in the registry, can I use some common place anywhere, in the registry or an existing node where I can store my value without affecting the local system settings ?</p></li>
</ol>

<p>Please help me out.</p>

<p>Thanks,</p>

<p>Bibhu</p>
