Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Long Delay When Call SetLicense
Long Delay When Call SetLicense
Post Reply
Long Delay When Call SetLicense
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Lance Levendowski
Lance Levendowski
posted 8 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 60,
Visits: 157
Calling Nevron.NLicenseManager.Instance.SetLicense with a valid license key takes almost 3 seconds which dramatically increases launch times while developing and for my users. This delay occurs regardless of whether I use a developer license while running from the IDE, or a desktop license while running from an exe file that was compiled in release mode.
I'm using Nevron Vision for .NET Ultimate 2017.1 in Windows 10.
Eliminating this delay is a very high priority. Do you have any suggestions?
Tags
Delay
SetLicense
Reply
Like
0
Reply
Nevron Support
Nevron Support
posted 8 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Lance,
We were not able to replicate this behavior - the following code:
DateTime dt1 = DateTime.Now;
NLicenseManager.Instance.SetLicense(new NLicense("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"));
DateTime dt2 = DateTime.Now;Trace.WriteLine((dt2 - dt1).ToString());
Runs in less than a millisecond. In general this code will access the registry, find the UUID and compare it against the UUID hash stored in the license key. There is nothing special / time consuming about this. Do you have this behavior on a specific machine? Also can you send us an app that replicates this?
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Long Delay When Call SetLicense
Lance Levendowski
-
8 Years Ago
Hi Lance, We were not able to replicate this behavior - the following...
Nevron Support
-
8 Years Ago
I might have found the problem. I ran the attached app on three...
Lance Levendowski
-
8 Years Ago
Hi Lance, We found the problem - for compatibility with older license...
Nevron Support
-
8 Years Ago
Yes, that fixed the problem. Thank you for the quick response!
Lance Levendowski
-
8 Years Ago
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search