Пример #1
0
        public static void Init()
        {
            var config = new Libs.License.Types.LicenseConfig();

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

            LicenseSession.Init(config);
        }
Пример #2
0
 public static LicenseSession Create()
 {
     LicenseSession.Init();
     return(new LicenseSession(CLIENT_ID, PRODUCT_NAME, LICENSE_KEY));
 }
Пример #3
0
 public static LicenseSession Create()
 {
     LicenseSession.Init();
     return(new LicenseSession(CLIENT_ID, PRODUCT_NAME, GetLicenseKey()));
 }
Пример #4
0
        public static LicenseSession CreateLicenseSession(string licenseKey = null)
        {
            LicenseSession.Init();

            return(new LicenseSession(CLIENT_ID, APP_NAME, licenseKey));
        }