A tamperproof ClientID system to uniquely identify a client machine is
invoked upon connection of a client application to a backend. Upon
initial connection, the backend issues a unique ClientID containing a
checksum. The client-application prepares at least two different
scrambled versions of the ClientID and stores them in respective
predetermined locations on the client machine. Upon subsequent connection
to the backend, the client application retrieves and unscrambles the
values at the two locations, verifies the checksums and compares the
values. If the checksums are both correct and the values match, the
ClientID value is sent to the backend, otherwise the client application
sends an error code.