|
|
|
|
KeyGetIdentifier( Función) Recupera el identificador que se utilizó para generar una clave inicial. // Your secret to customize Secret is string = "]$x+9*EBM%u]yK|R@=y" // ------------------------------------ // In the application, client side InitialKey is string InitialKey = KeyGenerateInitialKey(ClientID) Info("Your license key is: " + InitialKey) // -> InitialKey is transmitted to the application provider // -------------------------------------------- // Provider side: calculating the activation key ActivationKey is string Identifier is string ActivationKey = KeyCalcActivationKey(InitialKey, Secret) Identifier = KeyGetIdentifier(InitialKey) Info("Activation key generated for the client " + Identifier + ": " + ActivationKey) // -> ActivationKey is transmitted to the client for the activation of his license //-------------------------------------------- // Client side: Entering the activation key gbActivationOK = KeyCompareKey(InitialKey, ActivationKey, Secret) IF gbActivationOK = False THEN Error("Wrong activation key") EndProgram() END Sintaxis
<Result> = KeyGetIdentifier(<Initial key>)
<Result>: Cadena de caracteres Identificador utilizado para generar la clave inicial. Este identificador fue utilizado por KeyGenerateInitialKey. <Initial key>: Cadena de caracteres Clave inicial suministrada por el usuario de la aplicación. Esta clave fue generada por KeyGenerateInitialKey.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|