manage two keys within one Programm

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
Posts: 3
Joined: Sun Jan 08, 2017 3:41 pm

manage two keys within one Programm

Post by Iso_DEv » Wed Sep 19, 2018 6:21 pm

I would like to manage two independent keys in my Software. One is for User that bought the software and it should not have any restrictions. The second key is optional for those Users, who has a valid License and get a yearly Signature Update in addition.

Any solutions for this?

kind regards Tom

Site Admin
Posts: 2599
Joined: Wed Aug 20, 2008 2:24 pm

Re: manage two keys within one Programm

Post by Enigma » Thu Sep 20, 2018 12:29 pm

Hi Tom,

This is possible to do, but with some tricks.

To validate keys you have to use Enigma API function, eg EP_RegCheckKey/EP_RegCheckKeyW.

But you should not use key save function in Enigma (since it can handle only one key at a time), you have to save keys yourself, somewhere (in file or in registry).
You need to store a set of keys, if your alchitecture requires that, and then check each key with EP_RegCheckKey/EP_RegCheckKeyW function.

Post Reply