Exemple #1
0
        //string _strAuthUrlTest = "http://localhost/fulminationinteractive.com/auth/auth.php";
        private void handleActivation()
        {
            ActivatorConfiguration objActivatorConfig = new ActivatorConfiguration(
                System.Reflection.Assembly.GetEntryAssembly().FullName,
                _strAuthUrl,                //RifleUtils.IsDebugEnabled ? _strAuthUrlTest : _strAuthUrl,
                false);
            // Forces activation by showing a modal popup or else
            // the app dies.
            Activator ac = new Activator(objActivatorConfig);

            ac.ForceActivation(this);

            //FUTURE: for trial version
            _btnActivate.Hide();
        }
 public Activator(ActivatorConfiguration aobjConfig)
 {
     _objActivatorConfiguration = aobjConfig;
 }