Exemple #1
0
 /// <summary>
 /// Call this AFTER the Init function
 /// </summary>
 public static void PostInit()
 {
     if (isEnabled(StartupFlags.WindowsActivityMonitor))
     {
         AppAgentMgr.Init(ExtensionDirs);
         WindowActivityMonitor.Start();
     }
 }
Exemple #2
0
        /// <summary>
        /// Initializes the singleton instance of the Agent manager
        /// </summary>
        /// <returns></returns>
        private static bool createAgentManager()
        {
            bool retVal = true;

            if (isEnabled(StartupFlags.AgentManager))
            {
                retVal = AppAgentMgr.Init(ExtensionDirs);
                if (!retVal)
                {
                    setCompletionStatus("Error initializing the Agent manager");
                }
            }

            return(retVal);
        }