How to Set Up a Computer-Specific Term Licensing System Structure with C#?
Hello,
I am developing a software with C# and I want to license users for 1, 2 or 3 years specific to their computers. I want to control the licensing period information by associating it with an ID specific to the user computer and using an encrypted license key.
However, what I want to pay attention to here is that the license period is calculated correctly and expires after a certain period of time. I am thinking of creating a unique license key for each user based on the unique ID of the user computer (for example, MAC address, CPU ID). This license key will be used in the software and will expire after its expiration.
Can I get your suggestions on how to best store the license period with options such as 1, 2 or 3 years and how to detect expired licenses?
Thanks!