开发者

How do I find out what .net runtime a dll is built upon programmatically?

开发者 https://www.devze.com 2023-01-10 03:53 出处:网络
How do I find out what .net runtime a dll is built upon programm开发者_如何学Pythonatically? ThanksThe Assembly.GetAssembly method returns an Assembly that has anAssembly.ImageRuntimeVersion property

How do I find out what .net runtime a dll is built upon programm开发者_如何学Pythonatically?

Thanks


The Assembly.GetAssembly method returns an Assembly that has an Assembly.ImageRuntimeVersion property. That property's description says, "Gets a string representing the version of the common language runtime (CLR) saved in the file containing the manifest."

I think that's what you're after.

0

精彩评论

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