SFLUC_CHECK_KEYCODE

int __stdcall SFLUC_CHECK_KEYCODE(LPCTSTR PDKey,


LPCTSTR szKey,


LPCTSTR szActCode,


ULONG * ulExpiry,


int * nLevel 

)

Query and retrieve the expiration date and license level of a license key and activation code.

Returns
status code of the operation
Return values
NDK_SUCCESS  Operation successful
NDK_FAILED  Operation unsuccessful. See Macros for full list.
Parameters
[in]PDKeyProduct key (i.e. 31223-200-162)
[in]szKeyLicense key
[in]szActCode Activation code
[out]ulExpiryexpiration date expressed as number of days since January 1st, 1970
[out]nLevelEffective license level: 1=Limited, 2=Full/Pro
Remarks
  1. Initialization of SFLUC library is not a pre-requisite for SFLUC_CHECK_KEYCODE.
Requirements
Header SFLUC.H
Library SFLUC.LIB
DLL SFLUC.DLL
Examples
Namespace:  NumXLAPI
Class:  SLUC
Scope:  Public
Lifetime:  Static
NDK_RETCODE CHECK_KEYCODE(stringszPDKey


stringszKey,


stringszActivationCode,


ref UInt32 expiry


ref Int32Level

)

Query and retrieve the expiration date and license level of a license key and activation code.

Return Value

a value from NDK_RETCODE enumeration for the status of the call. 

NDK_SUCCESS  operation successful
Error  Error Code
Parameters
[in]PDKeyProduct key (i.e. 31223-200-162)
[in]szKeyLicense key
[in]szActivationCode Activation code
[out]expiryexpiration date expressed as number of days since January 1st, 1970
[out]LevelEffective license level: 1=Limited, 2=Full/Pro
Remarks
  1. Initialization of SFLUC library is not a pre-requisite for NDK_RETCODE CHECK_KEYCODE.
Exceptions
Exception Type Condition
None N/A
Requirements
Namespace NumXLAPI
Class SFLUC
Scope Public
Lifetime Static
Package NumXLAPI.DLL
Examples
References
* Hamilton, J .D.; Time Series Analysis , Princeton University Press (1994), ISBN 0-691-04289-6
* Tsay, Ruey S.; Analysis of Financial Time Series John Wiley & SONS. (2005), ISBN 0-471-690740
* D. S.G. Pollock; Handbook of Time Series Analysis, Signal Processing, and Dynamics; Academic Press; Har/Cdr edition(Nov 17, 1999), ISBN: 125609906
* Box, Jenkins and Reisel; Time Series Analysis: Forecasting and Control; John Wiley & SONS.; 4th edition(Jun 30, 2008), ISBN: 470272848