Is there a way to get the values of various properties of (both .NET and non-.NET) DLLs in .NET?
I'd like to read the 'Product name' field in particular.
Utilize FileVersionInfo...you can get quite a bit of info from this
using System.Diagnostics;
FileVersionInfo myFileVersionInfo = FileVersionInfo.GetVersionInfo("C:\\temp\\Test.dll");
MessageBox.Show(myFileVersionInfo.ProductName.ToString()); //here it is
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With