using System; using System.Diagnostics; class MainClass { static void Main(string[] args) { FileVersionInfo info = FileVersionInfo.GetVersionInfo("c:\\a.txt"); Console.WriteLine("IsSpecialBuild: " + info.IsSpecialBuild); } }