dnauck / Portable.Licensing

Portable.Licensing is a cross platform software licensing framework which allows you to implement licensing into your application or library. It provides you all tools to create and validate licenses for your software.
http://dev.nauck-it.de/projects/portable-licensing
MIT License
592 stars 173 forks source link

Expiration date time zone issue? #43

Closed Keboo closed 7 years ago

Keboo commented 7 years ago

In License.ExpirationDate it is explictly setting the given DateTime object to UTC. However in the validation it is comparing against DateTime.Now (local time). This cause cause interesting results based upon what timezone you are in. Is this a bug, or is this intentional?

Keboo commented 7 years ago

Nevermind, the issue was within my own code that was setting the expiration date.