FileVersionInfo.ProductVersion : FileVersionInfo « System.Diagnostics « C# / C Sharp by API






FileVersionInfo.ProductVersion

 


using System;
using System.Diagnostics;

class MainClass {
    static void Main(string[] args) {
        FileVersionInfo info = FileVersionInfo.GetVersionInfo("c:\\a.txt");

        Console.WriteLine("Product Version: " + info.ProductVersion);
    }
}

   
  








Related examples in the same category

1.FileVersionInfo.CompanyName
2.FileVersionInfo.FileDescription
3.FileVersionInfo.FileVersion
4.FileVersionInfo.GetVersionInfo
5.FileVersionInfo.InternalName
6.FileVersionInfo.IsPatched
7.FileVersionInfo.LegalCopyright
8.FileVersionInfo.OriginalFilename
9.FileVersionInfo.ProductName