开发者

Getting details of a DLL in .NET

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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜