This project is licensed under MIT License. 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. dnauck/Portable.Licensing for the original work. (or whatever you choose as the Start Menu Folder during the installation) 4.Make sure to call validationFailures.ToList() or validationFailures.ToArray() before using the result multiple times.
![eyebeam 1.5 19.4 license key eyebeam 1.5 19.4 license key](http://dreamprogs.net/files/images/original/5458.jpg)
Or simply check if there is any failure: if (validationFailures.Any()) Now you can iterate over possible validation failures: foreach (var failure in validationFailures)Ĭonsole.WriteLine(failure.GetType().Name + ": " + failure.Message + " - " + failure.HowToResolve) Standard.Licensing will not throw any Exception and just return an enumeration of validation failures. When(lic => lic.Type = LicenseType.Trial) 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.
![eyebeam 1.5 19.4 license key eyebeam 1.5 19.4 license key](http://www.counterpath.com/assets/images/product_subpage_marquee/marquee_desktop_eyebeam_02.jpg)
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() Var privateKey = keyPair.ToEncryptedPrivateKeyString(passPhrase) 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()
![eyebeam 1.5 19.4 license key eyebeam 1.5 19.4 license key](https://www.mgraves.org/wp-content/uploads/2009/02/0000501.png)
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.