Cryptlex Forums

GetLicenseKey()

J
Joshua Welsh

Using the C library LexActivator.h from MATLAB what input arguments are needed to obtain the license key?

Currently using:
sSharedLibrary = ‘LexActivator’;
loadlibrary(sSharedLibrary,@LexActivatorPrototype)
[valid] = calllib(sSharedLibrary,‘IsLicenseGenuine’)
[output] = calllib(sSharedLibrary,‘GetLicenseKey’)

and receiving the error:
No method with matching signature for the ‘GetLicenseKey’ input. The ‘IsLicenseGenuine’ is functioning correctly and returning 0.

A
Adnan KamiliCryptlex team

Hi Joshua,

Please refer to the following, your case is similar:

J
Joshua Welsh

Great, that worked. Thanks!

calllib(sSharedLibrary,‘GetLicenseKey’,blanks(256),256)

← Back to all topics · 3 posts · 900 views · opened 2021-07-28