Getting unique ID of a user's machine

I attempted to code such an interface at one time, and sent Thomas a copy.
It’s been several years, so I had forgotten about it. (I’ll try and see if I can find it.)