Licensing Software Running on Raspberry Pi

From a licensing perspective, being able to identify a device is important in order to make it possible to limit the number of end users that may use the same license. Treating a device id as an end user is very common, even though an end user can also be defined in other ways too (for example, to include the process id or username).

How to get started

To get access to the updated methods, you just need to upgrade to the new cross platform version of the library.

dotnet add package Cryptolens.Licensing.CrossPlatform

In that version of the library, both Helpers.GetMachineCode and Helpers.GetMachineCodePI work the same way. If you prefer to use the pre-compiled binaries, these can be obtained here. It’s important to use the ones in the “Without System.Management” folder.

How it works

Every Raspberry Pi board comes with a unique serial number. The updated methods first determine whether it is a Raspberry Pi board, and if it is, hash the serial number. The machine code is of the structure “RPI_{SHA256(serial number)}”. More technical information is available in the release notes.

Related articles

2020-10-29

Devolens - An Effortless Software Licensing System

Learn more about Our Product
Learn more about Our Product

Devolens - We Help Software Developers

Read more Development Tips
Read more Development Tips

Devolens - An Effortless Software Licensing System

View more Tutorials
View more Tutorials

Get Started with
Devolens Today

Join hundreds of industry-leading software companies who have already chosen us as their software licensing system.