mirror of
https://github.com/junian/Standard.Licensing.git
synced 2026-04-25 05:45:51 +03:00
[GH-ISSUE #34] Enhanced license expiration time verification mechanism #29
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Standard.Licensing#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shushu789 on GitHub (May 9, 2024).
Original GitHub issue: https://github.com/junian/Standard.Licensing/issues/34
Hello, this is a great library, it's great. But I want to know whether the verification mechanism of the license expiration time can be enhanced to add verification with the Internet time, because if the user modifies the local system time, the license can be made valid forever. If I missed something, please forgive me. Thanks
@markadrake commented on GitHub (Jun 8, 2024):
@shushu789 what you stated looks true to me:
github.com/junian/Standard.Licensing@dfbad0e079/src/Standard.Licensing/Validation/LicenseValidationExtensions.cs (L58)An additional method in the validation chain could be to phone home using a network time protocol and a built-in/configurable tolerance.
@shushu789 commented on GitHub (Jun 8, 2024):
@markadrake Thanks for your reply, I implemented this problem myself using NTP time, and it works well now
@junian commented on GitHub (Jun 9, 2024):
Hi @shushu789,
Thanks for bringing this up. I added an extenstion in v1.1.9 to use custom DateTime. Now you can do something like this: