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

use license key instead of file #13

Open furesoft opened 4 years ago

furesoft commented 4 years ago

is it possible to use a licence key in this format instead of a file? xxxx-xxx-xxxx-xxxx-xxx

dataweasel commented 2 years ago

I know this is kind of old...but for anyone else who might wonder...

What I did for this was simply to encrypt the license with AES. Created an application-specific Salt string that is used when encrypting the license. It's too long to expect a customer to type it in, but it can be sent in an email, then copy-n-pasted.

CraigRichards commented 2 years ago

I know this is kind of old...but for anyone else who might wonder...

What I did for this was simply to encrypt the license with AES. Created an application-specific Salt string that is used when encrypting the license. It's too long to expect a customer to type it in, but it can be sent in an email, then copy-n-pasted.

This sounds interesting. Do you have a sample of this?