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
Iso_DEv
Posts: 3
Joined: Sun Jan 08, 2017 3:41 pm

manage two keys within one Programm

Post by Iso_DEv »

Hello,
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
Enigma
Site Admin
Posts: 2945
Joined: Wed Aug 20, 2008 2:24 pm

Re: manage two keys within one Programm

Post 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.
Post Reply