I am using .Net 3.5/4.0 with code in C#.
I am trying to get a version number of an exe file on my C: drive.
For example path is: c:\\Program\\demo.exe. If t
Use this, it works:
using System.Reflection; string v = AssemblyName.GetAssemblyName("Path/filename.exe").Version.ToString();