public static void Main()
string licensee = "BOARD4ALL";
string email = "user@board4all.biz";
string expire_date = "31/12/2099";
var product_intend = ProductIntend.VSCode;
bool is_bundle_for_vscode = true;
string license_data = CreateLicenseData(licensee, email, expire_date, product_intend, is_bundle_for_vscode);
Console.WriteLine("LICENSE DATA:\n" + license_data);
string license_key = (product_intend == ProductIntend.VSCode ? licensee + ":" : "") + Convert.ToBase64String(Encoding.UTF8.GetBytes(license_data));
Console.WriteLine("\n\nLICENSE KEY:\n" + license_key);
static string CreateLicenseData(string licensee, string email, string expire_date, ProductIntend product_intend, bool is_bundle_for_vscode = false)
((product_intend == ProductIntend.Sublime) ? licensee + "\n(Sublime)(Freedom)\n" + expire_date + "\n" + Guid.NewGuid().ToString().Substring(0, 34):
(product_intend == ProductIntend.VSCode) ? licensee + "\n" + email + "," + (is_bundle_for_vscode ? "Wallaby.js + Quokka.js" : "") + "(VS Code)(Freedom)\n" + expire_date + "\n" + Guid.NewGuid().ToString() :
public enum ProductIntend