junian / Standard.Licensing

Easy-to-use licensing library for .NET Framework, Mono, .NET Core, and MAUI / Xamarin products
https://junian.dev/Standard.Licensing/
MIT License
535 stars 120 forks source link

Embed Validation folder in my project to prevent Standard.Licensing.dll from being replaced #23

Open santiago-ribero opened 2 years ago

santiago-ribero commented 2 years ago

Hi. I was wondering if by referencing the Standard.Licensing nuget package, it is possible for a "customer" to circumvent the licence validation by replacing the original Standard.Licensing.dll with a dummy version of it, that implements the same interfaces, classes and public methods but doesn't validate anything. In order to make sure this doesn't happen, I consider including in my core project the classes that are in the Validation folder. Do you agree this is a good approach?

Thank you so much.

CraigRichards commented 1 year ago

Hey @santiago-ribero, I'm reviewing this library as well. Thanks for your thoughts.

In regards to this

What do you think?