开发者

How to get runtime version of an managed assembly

开发者 https://www.devze.com 2023-04-04 21:36 出处:网络
How to get runtime version of an managed assembly Which section in ildasm开发者_如何学Go gives me this? Metadata?

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

精彩评论

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