示例#1
0
        public static bool IsValidSerialNumber(string serialNumber)
        {
            RegHelper helper = GetHelperBySerialNumber(serialNumber);

            if (helper != null)
            {
                return(helper.IsValidSerialNumber(serialNumber));
            }
            return(false);
        }
示例#2
0
        public static bool ContainsPowerUserLicense(string serialNumber)
        {
            RegHelper V_0 = GetHelperBySerialNumber(serialNumber);

            return(V_0.ContainsPowerUserLicense(serialNumber));
        }
示例#3
0
        public static int GetSiteLicense(string serialNumber)
        {
            RegHelper V_0 = GetHelperBySerialNumber(serialNumber);

            return(V_0.GetSiteLicense(serialNumber));
        }
示例#4
0
        public static string GenerateRequestCode(string serialNumber)
        {
            RegHelper helper = GetHelperBySerialNumber(serialNumber);

            return(helper.GenerateRequestCode(serialNumber));
        }
示例#5
0
        public static int GetProductCode(string serialNumber)
        {
            RegHelper loc0 = GetHelperBySerialNumber(serialNumber);

            return(loc0.GetProductCode(serialNumber));
        }
示例#6
0
        public static bool ValidateLicense(string actCode, string mCode, out int p)
        {
            RegHelper V_0 = GetHelperByActCode(actCode);

            return(V_0.ValidateLicense(actCode, mCode, out p));
        }
示例#7
0
        public static bool ValidateLicense(string actCode, bool onRegister)
        {
            RegHelper V_0 = GetHelperByActCode(actCode);

            return(V_0.ValidateLicense(actCode, onRegister));
        }
示例#8
0
        public static string GetValidMCode(string actCode)
        {
            RegHelper V_0 = GetHelperByActCode(actCode);

            return(V_0.GetValidMCode(actCode));
        }