For registration purpose i'm trying to find a simple way to uniquely identify the PC on which my app is running, or at least something that can be acceptable and that can not be easily bypassed...

I want something simple and that works on all version of windows down to 98, that's why i don't want any of the wmi system functions, that requires to have the full microsoft sdk installed, and that doesn't seem to work on Win2000.

So what is the easiest way to go?

GetVolumeInformation () returns the disk ID, but it is something generated by the OS that changes if you change your disk partition... It could be acceptable, but is there any other simple idea?

thanks