Example #1
0
        private void UpdateVersionInformation()
        {
            System.Diagnostics.FileVersionInfo fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(Path.GetFullPath(FileName));

            _versionDetails = RemoveUnprintableChars(fvi.ToString());
            _version        = RemoveUnprintableChars(fvi.FileVersion);
        }
Example #2
0
 private static void StartMethod()
 {
     System.Diagnostics.FileVersionInfo ver = System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location);
     Console.WriteLine("CIPCServer");
     Console.WriteLine(ver.ToString());
 }