Exception on Generate License ID

General information about Neurotechnology and its software

Exception on Generate License ID

Postby fenrirrm_ » Sep 25, 2018 15:55

Greetings!

I am trying to activate an serial-based license on a C# application by using the following lones of code:

Code: Select all
string activationIdExtractor = NLicense.GenerateId("xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx");
string licenseDataExtractor = NLicense.ActivateOnline(activationIdExtractor);
NLicense.Add(licenseDataExtractor);
NLicenseInfo info = NLicense.GetLicenseInfoOnline(licenseDataExtractor);


but I am receiving an "Neurotec.NNotSupportedException: "Not supported in current configuration"" on the "GenerateId" method.
Am I doing something wront?

Thanks.
fenrirrm_
 
Posts: 2
Joined: Sep 25, 2018 15:49

Re: Exception on Generate License ID

Postby vaidasz » Sep 26, 2018 08:37

fenrirrm_ wrote:Greetings!

I am trying to activate an serial-based license on a C# application by using the following lones of code:

Code: Select all
string activationIdExtractor = NLicense.GenerateId("xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx");
string licenseDataExtractor = NLicense.ActivateOnline(activationIdExtractor);
NLicense.Add(licenseDataExtractor);
NLicenseInfo info = NLicense.GetLicenseInfoOnline(licenseDataExtractor);


but I am receiving an "Neurotec.NNotSupportedException: "Not supported in current configuration"" on the "GenerateId" method.
Am I doing something wront?

Thanks.


Hello,

This message is thrown only if the licenses (from serial numbers) are used with the trial version of the NLicensing.dll. Download a non-trial version of the SDK and replace all dlls in yoru application with dlls from non-trial version of the SDK.
Vaidas Z
Neurotechnology
vaidasz
Neurotechnology
 
Posts: 589
Joined: Apr 30, 2010 06:57
Location: Vilnius, Lithuania


Return to Public

Who is online

Users browsing this forum: No registered users and 2 guests

cron