void ValidateLicense()
        {
            if (licenseManager.IsLicenseExpired())
            {
                RegisterLicense();
            }

            DisplayRegistrationStatus();
        }
Esempio n. 2
0
        void ValidateLicense()
        {
            DisplayLicenseStatus(true);
            DisplayRegistrationStatus();

            if (licenseManager.IsLicenseExpired())
            {
                RegisterLicense();
            }
        }
Esempio n. 3
0
        public void ManageLicense()
        {
            var result = windowManager.ShowDialog <ManageLicenseViewModel>();

            if (result.HasValue && result.Value)
            {
                if (!licenseManager.IsLicenseExpired())
                {
                    Result = true;
                    TryClose(Result);
                }
            }
        }