Develop a licence component for grasshopper plug-in

Hi all,

I’m having a grasshopper plug-in written in C# visual studio environment.
I’m having a need to develop a license component to protect them.

Have already done some research, but still wondering which is the most suitable approach.
I found:

  1. https://github.com/mcneel/rhino-developer-samples/tree/6/rhinocommon/cs/SampleCsWithLicense

2.https://www.thinktanks.co.za/simple-c-licencing-rhino-licensing/?fbclid=IwAR1tOoPqI11KSMm-eF9nJ47hGa6LNo5Xnth2O_wGKdVpjFcneo6x0j1qwrc

Any suggestion?

Regards,
Shaun

Try to check this tutorial.

Or you can using Qlm.

Hi foreigner,

Thanks for your links.
I understand how to create a licence key, but how do we incorporate to the c# component in grasshopper specifically?

Regards,
Shaun