Example #1
0
        public static void Init()
        {
            var config = new Libs.License.Types.LicenseConfig();

            //config.DisableUsbkey = true;
            //config.IssuerKeyId = 123456;
            //config.DisableTrial = true;

            LicenseSessionX.Init(config);
        }
Example #2
0
        public static void ShowDialog(IWin32Window parent)
        {
            var info = LicenseSessionX.GetLicenseInfo(CLIENT_ID, PRODUCT_NAME, GetLicenseKey());

            LicenseSessionX.ShowLicenseDialog(CLIENT_ID, PRODUCT_NAME, parent, DeployLicenseFileAction);
        }
Example #3
0
 public static LicenseSessionX Create()
 {
     LicenseSessionX.Init();
     return(new LicenseSessionX(CLIENT_ID, PRODUCT_NAME, GetLicenseKey()));
 }
Example #4
0
        public static void ShowDialog(LicenseSessionX session, IWin32Window parent)
        {
            var info = LicenseSessionX.GetLicenseInfo(CLIENT_ID, PRODUCT_NAME, LICENSE_KEY);

            LicenseSessionX.ShowLicenseDialog(session.ClientId, session.AppName, parent, DeployLicenseFileAction);
        }
Example #5
0
 public static LicenseSessionX Create()
 {
     LicenseSessionX.Init();
     return(new LicenseSessionX(CLIENT_ID, PRODUCT_NAME, LICENSE_KEY));
 }