예제 #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
파일: App.cs 프로젝트: theseye/Bim.Training
        public static LicenseSession CreateLicenseSession(string licenseKey = null)
        {
            LicenseSession.Init();

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