FileVersionInfo.FileName
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); } }
1. | ProductName | ||
2. | ProductVersion | ||
3. | CompanyName | ||
4. | FileVersion | ||
5. | FileDescription | ||
6. | OriginalFilename | ||
7. | LegalCopyright | ||
8. | InternalName | ||
9. | IsDebug | ||
10. | IsPatched | ||
11. | IsPreRelease | ||
12. | IsPrivateBuild | ||
13. | IsSpecialBuild |