I am writing a plugin for a program, and I want to put my code in a DLL so that I can freely share the plugin without exposing (giving) my code.
Here is the basic structure that I have access to:
using System; public class Plugin { public void Initialize() {
Then I just refer to the .cs file where my code is located, and the program "eats" this plugin. Now I put a few logics, consisting mainly of functions that arent attached directly to "Initialize ()", only to the doWork () function, which starts the whole system.
Now I want to put all my code in a DLL, and then just call Initialize (), myDll.doWork () (or something like that) from the inside.
PS: This dll should be a compiled C # library (could it be called a dynamic assembly? Would it not be dynamic, since it would have been compiled in advance, anyway?)
PS2: So I can also add user resources like forms, images, etc., without too much difficulty?
PS3: Is there a free tool for protecting code inside such a DLL? (i.e. protect against easy bending)
Thanks in advance =)
source share