Loading Assemblies from a .Net Application in a 'Sandbox Environment'

前端 未结 2 1580
盖世英雄少女心
盖世英雄少女心 2021-01-01 07:16

I am currently developing an application in where a user will dynamically choose dlls and the application will execute some of the methods in that dll. (if you follow t

2条回答
  •  庸人自扰
    2021-01-01 07:41

    What you're looking to do is basically running Assemblies in a separate Application Domain. Check out this page on MSDN for a good starting point. It's actually quite east to do:

    http://msdn.microsoft.com/en-us/library/ms173139(VS.80).aspx

提交回复
热议问题