FileVersion : FileVersionInfo « File Stream « C# / C Sharp






FileVersion


using System;
using System.Diagnostics;

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

        Console.WriteLine("File Version: " + info.FileVersion);
    }
}
           
       








Related examples in the same category

1.FileVersionInfo.FileName
2.ProductName
3.ProductVersion
4.CompanyName
5.FileDescription
6.OriginalFilename
7.LegalCopyright
8.InternalName
9.IsDebug
10.IsPatched
11.IsPreRelease
12.IsPrivateBuild
13.IsSpecialBuild