title: Replace Version Information (C#)
body: <p>I am trying to make a Version resource tool - pretty much because I came across the FileVersionInfo class recently. I am using FileVersionInfo.GetVersionInfo to obtain an executable's version information through <em>code</em>.  Now, I would like to use <em>code</em> to update the version information of an executable file. I wasn't sure if there was a built in class as there is for obtaining the information.</p>
  
  <p>If not, I got an idea to use something similar to the following code in order to <em>replace</em> the file's information. I used to do something similar to this in VB6 - which is where I got the idea from.</p>
  
  <pre><code>File.ReadAllBytes(@"\MyFile.exe")
  // Convert the data into a string
  // Use the Replace function to find original version information (obtained via FileVersionInfo), and replace it with new information to my liking.
  </code></pre>
  
  <p>Would this work? If not, might anyone have some better ideas?</p>
  
  <p>Thanks,
  Evan</p>