IceReaper
Safe Plugin Loader - Forbid specific namespaces (and reflection usage)?
I managed to build a solution in a single c# class which uses roslyn now. So mods have to ship the code sources. I scan the source code, check used types and functionality, verify it against a whitelist, compile the assembly in memory, and load it dynamically. works 🙂 thanks for the hint about using roslyn
33 replies
Safe Plugin Loader - Forbid specific namespaces (and reflection usage)?
Hm.. thats also an interesting approach, but i guess shipping the whole toolchain to build project requires users - in this case gamers, as the plugins are for enhancing the game with custom mechanics - to have an sdk installed?
33 replies