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
554 stars 127 forks source link

How to use in license server that package? #9

Closed mesutdede closed 5 years ago

mesutdede commented 5 years ago

Hi! I have a windows service that I want to license on the remote server. For example, I will give my client license key for 2 servers. Cannot install on 3rd server. Can I perform this editing with this package? Why?

lastlink commented 5 years ago

see my comment in https://github.com/junian/Standard.Licensing/issues/8#issuecomment-527931051

mesutdede commented 5 years ago

Hi @lastlink , Can you share sample code

lastlink commented 5 years ago

You'd have to as part of your license verification check against a device id. standard licensing just validates that the license works and pulls out attributes. To lock to a machine you'll have to write your own logic to compare against a device id.

mesutdede commented 5 years ago

Ok. Thank you so much.