Page 1 of 1

How to count an execution ?

Posted: Wed Jun 23, 2021 1:07 pm
by Grawol
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

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 ?