I want to have a dll link in my Windows Forms Application. It is imperative for me that the dll is first encrypted and then decrypted at run time, when it should be used.
Please consider the following example when a routine is initially encrypted, and then decrypted and created. Please note that this is only a conceptual idea, I do not know how to do this from a code point of view.
Class clsSO { void myVoid() { Console.WriteLine("We are here now ..."); } }
The above code will be wrapped in a .dll and added as a dll link to my project. Then the dll will refer and a routine called:
clsSo myRef = new clsSo(); myRef.myVoid();
Console output:
We are here now ...
What I need to do: The contents of the dll shell will be encrypted and, therefore, unreadable / unable to refer directly to the class. Thus, the dll will need to somehow decrypt and dynamically update the decrypted data so that I can then refer to it.
Does something like this already exist? Can this be done?
I appreciate everyoneβs time!
Thanks,
Evan
user725913
source share