Once I was anchored to serial number of a disk, and then it appeared that it elementarily changes.
It was then anchored to the code of a product of Windows which is highlighted in properties "My computer", but here there was ten, and this code started to change from a patch to a patch, and to me calls from clients fell down.
SPECCY gives any other serial number and, like, it does not change from a patch to a patch. For the seven found algorithm how to calculate it from the product code, for ten this algorithm does not work already, and generally is not clear that it for the code such.
UUID seemed most that on is the correct code, method truth to take it, without using WMI, did not find, therefore I take through WMI. However, as it was clarified, as it substitute, for example, when want to get rid of restriction TeamViewer for cheapskates. And if apply this patch registration of my program flies also. Plus UUID this quite often same for all boards of one series, as a result we receive the registration code identical to several clients. Besides in WINE it does not turn out through WMI to work.
Also through WMI it is possible to lift serial number .. As without WMI - did not clarify, and it imports at once restriction for operation under wine. However write that these can be also , or zero even at some mums.
Still there is a cryptography key in the register, it is generated is unique at creation of system and on idea should be stored in it eternally. It is possible to be anchored to it. Section Software\Microsoft\Cryptography. However, it can be beaten easily, and the Windows builds the new. However, what consequences for all remaining in Windows after such action - I do not know. So, can, here, as a variant.
So the most good method is not present, and I at registration solve each time, now I want to use what method. Though, in overwhelming majority of cases it either UUID ., or ..
Other interesting methods yet did not invent