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






FileVersionInfo.GetVersionInfo

 
using System;
using System.Diagnostics;

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

        Console.WriteLine("Checking File: " + info.FileName);
    }
}

   
  








Related examples in the same category

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