Page 1 of 1

manage two keys within one Programm

Posted: Wed Sep 19, 2018 6:21 pm
by Iso_DEv
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

Re: manage two keys within one Programm

Posted: Thu Sep 20, 2018 12:29 pm
by Enigma
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.