Exemplo n.º 1
0
        public ScheduledTaskConfig()
        {
            InitializeComponent();
            //check if scheduled task already configured

            var certifyManager = new Certify.Management.CertifyManager();

            TaskConfigured = certifyManager.IsWindowsScheduledTaskPresent();

            if (TaskConfigured)
            {
                AutoRenewPrompt.Text       = SR.ScheduledTaskConfig_AlreadyConfiged;
                AutoRenewPrompt.Foreground = Brushes.DarkGreen;
            }
        }
Exemplo n.º 2
0
        public ScheduledTaskConfig()
        {
            InitializeComponent();
            //check if scheduled task already configured

            var certifyManager = new Certify.Management.CertifyManager();

            TaskConfigured = certifyManager.IsWindowsScheduledTaskPresent();

            if (TaskConfigured)
            {
                AutoRenewPrompt.Text       = "The auto renewal task is already configured. If required you can change the admin user account used to execute the task.";
                AutoRenewPrompt.Foreground = Brushes.DarkGreen;
            }
        }