Login  •  Register


License not working

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

License not working

Postby nikhilmv » 23 Aug 2019, 20:51

Is License tied up the with the assembly version? For e.g created app using demo version say 3.0.0 and received licence with version is 3.0.2 then do we need to switch the code to 3.0.2 Binaries to make it work? Currently the application disconnects from UA server after 1 hour.
Note: Its licensed under name of Matt Anderson.
nikhilmv
Full Member
Full Member
 
Posts: 6
Joined: 20 May 2019, 06:27

Re: License not working

Postby jonathang » 26 Aug 2019, 18:32

Dear nikhilmv,

The license file has to match the version of the nuget packages or .dlls. If you open the license.lic file, there should be a ProductId section for the version of the SDK this license covers.

For example, SDK 3.0.2 must have a license with this ProductId:
Code: Select all
 <ProductId>UaSdkNetBundle-3.0.2-Win32-Binary</ProductId>

If the ProductId is for a different version, it will not work past one hour.


Sincerely,

Jonathan
jonathang
Hero Member
Hero Member
 
Posts: 29
Joined: 02 Nov 2015, 19:07

Re: License not working

Postby nikhilmv » 27 Aug 2019, 08:55

Ok will try with that. Any other settings required apart from adding .lic file in code?
nikhilmv
Full Member
Full Member
 
Posts: 6
Joined: 20 May 2019, 06:27

Re: License not working

Postby nikhilmv » 12 Sep 2019, 20:50

Its working now.
nikhilmv
Full Member
Full Member
 
Posts: 6
Joined: 20 May 2019, 06:27


Return to .NET based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 1 guest