Seems like the path gets changed when using VMProtect:
Code: Select all
string assemblyPath = Path.Combine(folderPath + "/lib", new AssemblyName(args.Name).Name + ".dll");
Got another code which is working:
Code: Select all
var name = config["Account"]["VM_NAME"];
var apiKey = config["Account"]["API_KEY"];
Anyone got an idea how to fix the first code, so VMProtect not changing the String?