Example #1
0
        private void CheckLicense()
        {
            try
            {
                //_isTrial = false;
                //TO Be commented OUT when we release the APP.
                //_isTrial = _licenseInfo.IsTrial();
                //_isTrial = true;
                //gIsPaidVersion = false;
                _isTrial = false;

                //After checking Licence, call into CLOUD.
                AllUsersConnection cloud = new AllUsersConnection();
                cloud.UpdateUserInformation(IsTrial);
            }
            catch (Exception)
            {
                _isTrial = false;
            }
        }
Example #2
0
        // Code to execute when the application is closing (eg, user hit Back)
        // This code will not execute when the application is deactivated
        private void Application_Closing(object sender, ClosingEventArgs e)
        {
            AllUsersConnection cloud = new AllUsersConnection();

            cloud.UpdateTimeInApp(DateTime.Now - _timeOpened);
        }