AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de claves de activación
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
Recupera el identificador que se utilizó para generar una clave inicial.
Recordatorio: La clave inicial fue generada por KeyGenerateInitialKey( Función).
Ejemplo
// 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.
Componente: wd290std.dll
Versión mínima requerida
  • Versión 15
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 23/06/2023

Señalar un error o enviar una sugerencia | Ayuda local