How to check programmatically whether a managed assembly is x86, x64 or AnyCPU?

后端 未结 2 605
你的背包
你的背包 2020-12-19 05:22

I need to determine programmatically whether an assembly is x86, x64 or AnyCPU? There is an almost identical question, but the solution that it provides

Ass         


        
2条回答
  •  伪装坚强ぢ
    2020-12-19 05:57

    Solution how to determinate this just by code without reflection nor thirdparty SW can be found here: How to determine if a .NET assembly was built with platform target AnyCPU, AnyCPU Prefer32-bit, x86, x64 without using reflection and third party SW

提交回复
热议问题