Example #1
0
        public static bool LoadLicense(string fileName, out string errmsg)
        {
            bool result = LicenseUtility.GetLicenseUtility().LoadLicense(fileName, out errmsg);

            if (!result)
            {
                return(result);
            }
            /// License is available to load
            return(VWA4Common.GlobalSettings.LoadGlobalsfromLicenseFile(out errmsg));
        }
Example #2
0
 public static LicenseUtility GetLicenseUtility()
 {
     return(_licenseUtility ?? (_licenseUtility = new LicenseUtility()));
 }
Example #3
0
 public static void SetValue(string name, string value)
 {
     LicenseUtility.GetLicenseUtility().SetValue(name, value);
 }
Example #4
0
 public static string GetValue(string name)
 {
     return(LicenseUtility.GetLicenseUtility().GetValue(name));
 }
Example #5
0
 public static bool IsInited()
 {
     return(LicenseUtility.GetLicenseUtility().IsInited());
 }
Example #6
0
 public static void SaveLicense(string fileName)
 {
     LicenseUtility.GetLicenseUtility().SaveLicense(fileName);
 }
Example #7
0
 public static bool LoadLicense(string fileName)
 {
     return(LicenseUtility.GetLicenseUtility().LoadLicense(fileName));
 }