title: Version number of a dll in .NET
body: <p>Given the following:</p>
  
  <pre><code>string file = @"c:\somepath\somefile.dll";
  </code></pre>
  
  <p>How can I find the file and product version numbers of that DLL using .NET?</p>
  
  <p>The dll can be either native or managed.</p>
  
  <p>Thanks.</p>