I have a C# Desktop app.
I load a C# DLL into this app via reflection methods.
Is there a way to compile this DLL into native code?
The ultimate aim is to protect my DLL the best way I can. I know it will not be 100% proof but I just want to not make it easy to do so.
Thanks
Obfuscation is what you might be looking for. Please take a look at following links to arrive at a basic idea from your end, if Obfuscation meet your requirement.
.NET obfuscation tools/strategy