Cryptolens offers a .NET SDK that we recommend installing into your projects, which makes it easier to perform license key verification and implement other licensing models (such as offline verifications).The easiest way is to install Cryptolens.Licensing through NuGet. Pre-compiled binaries and the source code are also available on our GitHub page.
When computing the machine code, we recommend using the latest version of the method, which is used in the key verification tutorial. However, in some versions of Excel, it might not be feasible to call Helpers.GetMachineCode on .NET Framework 4.6. The reason for this is the call we make to System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform. To fix this, we have added a boolean flag in Helpers class. Before calling Helpers.GetMachineCode or Helpers.IsOnRightMachine, please set Helpers.WindowsOnly=True.