How to count an execution ?

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
Grawol
Posts: 22
Joined: Sun Aug 19, 2018 10:58 am

How to count an execution ?

Post by Grawol »

hi,
I want to limit a button by it press count, it will limit daily press max to 10 times.
My logic is an integer incrimental, and store to registry. The count will reset to 0 next day.
I will put inside RISC bracket.

Code: Select all

load_iCount;
if iCount < 10 then DoJob else exit;
But this will be altered by user if the registry key path is found.
Also I check the date base in internet time, to avoid local pc time modification.
How to securely make this funtion? Does enigma have such feature ?
Post Reply