VIRTUAL Box - registery

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
Alieivazzadeh
Posts: 1
Joined: Fri Mar 23, 2018 7:55 pm

VIRTUAL Box - registery

Post by Alieivazzadeh »

is this possible to Write some data like Strings or binary data to Virtual registry after compile and link it with enigma?
and how can i do that with C++?
Similar Functions or another method?
Please give the sample source code

Like that C# code:

Code: Select all

public bool Write(string KeyName, object Value)
{
    try
    {
        // Setting
        RegistryKey rk = baseRegistryKey ;
        // I have to use CreateSubKey 
        // (create or open it if already exits), 
        // 'cause OpenSubKey open a subKey as read-only
        RegistryKey sk1 = rk.CreateSubKey(subKey);
        // Save the value
        sk1.SetValue(KeyName.ToUpper(), Value);

        return true;
    }
    catch (Exception e)
    {
        // AAAAAAAAAAARGH, an error!
        ShowErrorMessage(e, "Writing registry " + KeyName.ToUpper());
        return false;
    }
}
The full code on this link: https://www.codeproject.com/Articles/33 ... try-with-C
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: VIRTUAL Box - registery

Post by Enigma »

Hi, yes, this would be possible, but please note, after application restart these changes will be ignored. So all changes to virtual files and registry are working within one running session only. When application restarts, protection takes the initial files and registry parameters. Is it OK for you?
Post Reply