When you right-click an .exe file, you can see various details, such as file description.
I'm looking for way to retrieve that data programmatically (preferably, from C#).
(Program's name, program's description, Vendor's name, Vendor's site etc)
When you right-click an .exe file, you can see various details, such as file description.
I'm looking for way to retrieve that data programmatically (preferably, from C#).
(Program's name, program's description, Vendor's name, Vendor's site etc)
You can get a lot (but not all) of this via FileVersionInfo
:
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(path);
string company = fvi.CompanyName;
string productName = fvi.ProductName;
string productVer = fvi.ProductVersion;
// etc