How to load assembly into memory and execute it

前端 未结 3 896
暗喜
暗喜 2021-01-01 00:52

This is what im doing:

byte[] bytes = File.ReadAllBytes(@Application.StartupPath+\"/UpdateMainProgaramApp.exe\");
Assembly assembly = Assembly.Load(bytes);
/         


        
3条回答
提交回复
热议问题