GenerateMachineModifier method
function TOgMakeKeys.GenerateMachineModifier: LongInt;
GenerateMachineModifier method function TOgMakeKeys.GenerateMachineModifier: LongInt; |
GenerateMachineModifier creates a key modifier based on the hardware information for the current machine.
GenerateMachineModifier uses hard disk volume sizes, volume serial numbers, registration name/company as reported by Windows, and the network card ID (if available) to produce a modifier specific to a single machine.
Use this modifier to sign the key used to encode and decode release codes if you want the release code to restrict usage to a single machine.
Caution: If hardware is changed on the machine, the modifier changes, rendering the release code, and consequently the application, unusable.
This routine is also available as a function (GenerateMachineModifierPrim) for use in applications that need to generate modifiers dynamically.
See also: ApplyModifierToKey, GenerateDateModifier, GenerateStringModifier, GenerateUniqueModifier