using System.Diagnostics;FileVersionInfo oldFileVersionInfo = FileVersionInfo.GetVersionInfo(yourfilename);

解决方案 »

  1.   

    http://beta.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20245562.html
    http://www.codeproject.com/useritems/Dll_Profiler.asp?print=true
      

  2.   

    public void GetFileVersion() {
        // Get the file version for the notepad.
        FileVersionInfo myFileVersionInfo = FileVersionInfo.GetVersionInfo("%systemroot%\\Notepad.exe");
     
        // Print the file name and version number.
        textBox1.Text = "File: " + myFileVersionInfo.FileDescription + '\n' +
           "Version number: " + myFileVersionInfo.FileVersion;
     }