reading value from registry and storing it in a bin file in a folder
<p>I am writing a C# code. As shown in the image, I need to retrieve the value of a key called <code>LicenseKey</code> (right side of the image) from the registry path <code>HKEY_LOCAL_MACHINE/Software/Avtec, Inc/LicenseKey</code> and store the value in a bin file called <code>pml.bin</code></p>

<p>Can anyone help me with the code? Thanks in advance.</p>

<p><img src="http://i.stack.imgur.com/9yiU8.png" alt="enter image description here"></p>
