the simplest thing I can see to do is to make a reg value somewhere that is unlikely to be found... Like somewhere in HKEY_CLASSES_ROOT\CLSID\ and just write a key that incr on each use
of course that could be regsnapped, but that is few and far between.

are you going to crypt the code so the app itself isn't decompiled... that is the most likely avenue
_________________________
How to ask questions the smart way <-----------> Before you ask