title: How can I get the assembly file version
body: <p>In <code>AssemblyInfo</code> there are two assembly versions:</p>
  
  <ol>
  <li><code>AssemblyVersion</code>: Specify the version of the assembly being attributed.</li>
  <li><code>AssemblyFileVersion</code>: Instructs a compiler to use a specific version number for the Win32 file version resource. The Win32 file version is not required to be the same as the assembly's version number.</li>
  </ol>
  
  <p>I can get the <code>Assembly Version</code> with the following line of code:</p>
  
  <pre><code>Version version = Assembly.GetEntryAssembly().GetName().Version;
  </code></pre>
  
  <p>But how can I get the <code>Assembly File Version</code>?</p>