An older tutorial on how to integrate Cryptolens licensing into a desktop application in .NET
If you want to jump straight into the code, please check out the key verification tutorial.
Our application will have three features (voice, audio and converter), and the ability to license these as a ‘subscription’ (time-limited) or ‘perpetual’ (unlimited time). We will check the license key when we have an Internet connection. If we’re offline, we will use the saved license file. The user will be able to use the software 90 days offline at most.
Manage NuGet Packages...
Cryptolens.Licensing
into the Browse tab, select SKM Client API
and install it.
Note, you can find more detailed examples of .NET here and other environments here. Please don’t hesitate to contact us should you have any questions.
Refresh
) and enable buttons depending on the features in the license. Features 3-5 indicate a certain functionality whereas Feature 1 is used to indicate a time-limit (in case it’s a subscription). Once we have a valid license, we will save it locally (it will be signed by SKM, because sign is set to true in Refresh
).
token
or auth
. They refer to an access token.
The idea behind access tokens is to allow you to:
publicKey
variable).IWXAZ-FVMOD-KBZQU-DKUFW
- all features in one years since this tutorial was writtenIYVOO-JCWXQ-LCRBI-ZAIQZ
- all features but the recorder with no time constraint.