Page 1 of 1

How to use VMProtect properly in .NET?

Posted: Sun Jan 05, 2020 1:14 pm
by khangminh
Hello Sir,

Do i need to use VMProtect.SDK.DecryptString for every string I need to use in my program? If the strings are not visible to the user or just passed from varibles? Is it really helps me to secure the strings?

Thanks
p/s: Would you give me another details example how to use it properly? The Examples includes for .Net are not enough.

Re: How to use VMProtect properly in .NET?

Posted: Wed Jan 29, 2020 7:21 am
by Admin
You have to use VMProtect.SDK.DecryptString for all strings that you want to hide from decompiler in your assembly. Something like this:

Code: Select all

MessageBox.Show(VMProtect.SDK.DecryptString("Correct password"), VMProtect.SDK.DecryptString("Password check"), MessageBoxButtons.OK, MessageBoxIcon.Information);