License not working

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

Moderator: uasdknet

Post Reply
nikhilmv
Full Member
Full Member
Posts: 8
Joined: 20 May 2019, 06:27

License not working

Post by nikhilmv »

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.

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

Re: License not working

Post by jonathang »

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

nikhilmv
Full Member
Full Member
Posts: 8
Joined: 20 May 2019, 06:27

Re: License not working

Post by nikhilmv »

Ok will try with that. Any other settings required apart from adding .lic file in code?

nikhilmv
Full Member
Full Member
Posts: 8
Joined: 20 May 2019, 06:27

Re: License not working

Post by nikhilmv »

Its working now.

Post Reply