This project is licensed under MIT License.
Var validationFailures = license.Validate() The easiest way to assert the license is in the entry point of your application.įirst load the license from a file or resource: var license = License.Load(.) Now you can take the license and save it to a file: File.WriteAllText("License.lic", license.ToString(), Encoding.UTF8) This could be easily done with the LicenseFactory: var license = License.New() Now we need something to generate licenses. If you want your customer to buy a new license on each major release you can create a key pair for each release and product. Normally you create one key pair for each product, otherwise it is possible to use a license with all products using the same key pair.
Store the private key securely and distribute the public key with your product. Var publicKey = keyPair.ToPublicKeyString() Open the folder where you installed eyeBeam, usually in Drive/Applications. (or the appropriate application name if you have a co-branded version) 5.2 Running eyeBeam for Apple Macintosh 1. Var privateKey = keyPair.ToEncryptedPrivateKeyString(passPhrase) (or whatever you choose as the Start Menu Folder during the installation) 4. Var keyPair = keyGenerator.GenerateKeyPair() Standard.Licensing uses the Elliptic Curve Digital Signature Algorithmus (ECDSA) to ensure the license cannot be altered after creation.įirst you need to create a new public/private key pair for your product: var keyGenerator = .KeyGenerator.Create() Usage Create a private and public key for your product There is also a plan to decouple from Bouncy Castle library and use for modern. The purpose of this fork is to add support for more. This is project is derived from Portable.Licensing library.