Originally Posted by
MaiN
Yes, that is my point. This is the method I have used for years now, ever since Apoc posted his first loader. But lolp1 said that it works for him without the separate non-changing loader, which is what I'm curious about. He's saying that there is no need to use any separate DLL loader handling the app domains.
Sorry for the late reply. I currently use the domain wrapper answer due to the complexity using the other answer causes when using obfuscation.. if I recall you may need to change this:
Code:
_domain = AppDomain.CreateDomain("Gather.NET.Internal", null, currentPath, null, true);
to something like
Code:
int randomInt = new Random(0).Next(100,500);
_domain = AppDomain.CreateDomain($"Gather.NET.Internal{_}{randomInt}", null, currentPath, null, true);
If that does not work let me know and I will go find my example some where on old git backup, since I am 99.99% sure this works as is when I tested the other day. Missed your reply.