Exemplo n.º 1
0
        private static bool IsValidLicense()
        {
            DevelopmentHelper.TimeBomb();
            return(true);

            if (ValidateLicense.CurrentLicense.IsCommercial == false)
            {
                return(false);
            }

            string value;

            if (ValidateLicense.CurrentLicense.Attributes.TryGetValue("cluster", out value) == false)
            {
                return(false);
            }

            bool cluster;

            if (bool.TryParse(value, out cluster) == false)
            {
                return(false);
            }

            return(cluster);
        }
Exemplo n.º 2
0
        private static bool IsLicenseValid()
        {
            DevelopmentHelper.TimeBomb();
            return(true);

            string monitoring;

            if (ValidateLicense.CurrentLicense.Attributes.TryGetValue("monitoring", out monitoring))
            {
                bool active;
                if (bool.TryParse(monitoring, out active))
                {
                    return(true);
                }
            }

            return(false);
        }