/// <summary> /// Launch the Audit Upload Controller to upload audits from watched folders /// </summary> private void LaunchDiscoveryController() { try { discoveryController = new DiscoveryController(this); discoveryController.Start(); } catch (Exception e) { eventLog1.WriteEntry("AuditWizard Audit Upload Controller failed to start due to exception: " + e.Message, EventLogEntryType.Error); } }
protected bool StartDiscoveryTask() { eventLog1.WriteEntry("Starting Discovery Task", EventLogEntryType.Information); // Here we need to be able to perform network discovery and agent deployment //LaunchDiscoveryController(); discoveryController = new DiscoveryController(this); discoveryController.Start(); eventLog1.WriteEntry("Discovery task started", EventLogEntryType.Information); return(true); }