VMProtect changes some texts?

Hi,

Seems like the path gets changed when using VMProtect:

string assemblyPath = Path.Combine(folderPath + "/lib", new AssemblyName(args.Name).Name + ".dll");

I have to exclude text from memory protection. But isn´t that insecure, not want to do that for only one string.

Got another code which is working:

var name = config["Account"]["VM_NAME"];
var apiKey = config["Account"]["API_KEY"];

i dont understand what´s the difference here.
Anyone got an idea how to fix the first code, so VMProtect not changing the String?

Could you provide us more detailed information what was changed in the first code?

I load my DLLS from another folder.
The folder is called lib and is located in the root folder of the program.

However, when I run VMP over it, the program expects the dll’s to be in the root folder.

I need to exclude text from memory protection so that the dll’s are still loaded from the /lib folder.

string assemblyPath = Path.Combine(folderPath + "/lib", new AssemblyName(args.Name).Name + ".dll");

I didn’t understand anything. Could you provide the correct value of “assemblyPath” and its value after protection?

Before i load my dlls from the folder /lib
After i use VMP it loads the dlls from root directory.

If i I exclude text from memory protection, the dlls got again loaded from /lib path.

No idea what VMP is doing here

Well please give me a refund, seems like not getting any help.
Cant wait years to publish my project.

We asked a test example that shows your problem, but haven’t received anything yet. Unfortunately we can’t help you with Anydesk, etc. because we need to reproduce your problems on our side. Anyway, we will refund your order right now.

P.S. The topic is closed.