开发者

How to get runtime version of an managed assembly

How to get runtime version of an managed assembly

Which section in ildasm开发者_如何学Go gives me this? Metadata?

Thanks for looking..


Do you mean which version of the framework it's built against? The manifest will contain an assembly reference like this:

// Metadata version: v4.0.30319
.assembly extern mscorlib
{
  .publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
  .ver 4:0:0:0
}

That's an assembly targeting .NET v4, for example.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜