/// <summary>
        /// Returns inventoried devices today/yesterday for Inventory and SLM
        /// </summary>
        /// <returns></returns>
        public bool GetReportedToday(bool slm = false, bool sinv = false)
        {
            InventoryServer inventoryServer = new InventoryServer();
            LicenseManager  licenseManager  = new LicenseManager();

            ExcelPackage.LicenseContext = LicenseContext.NonCommercial;
            using (ExcelPackage pck = new ExcelPackage(new FileInfo(dc.Export + ExportName)))
            {
                if (slm)
                {
                    pck.Workbook.Worksheets.Add("SLM DeviceReporting (Yday)").Cells["A1"].LoadFromDataTable(licenseManager.ReportedYesterday(), true, tableStyle).AutoFitColumns();
                    TabColor(pck, "DeviceReporting", Convert.ToInt32(XmlConfigurator.Read(dc.Config + ac.AppConfig, "LicenseManagerDeviceThreshold")), "SLM DeviceReporting (Yday)");
                }

                if (sinv)
                {
                    pck.Workbook.Worksheets.Add("SINV DeviceReporting (Today)").Cells["A1"].LoadFromDataTable(inventoryServer.ReportedToday(), true, tableStyle).AutoFitColumns();
                    TabColor(pck, "DeviceReporting", Convert.ToInt32(XmlConfigurator.Read(dc.Config + ac.AppConfig, "InventoryServerDeviceThreshold")), "SINV DeviceReporting (Today)");
                }
                pck.Save();
            }

            if (File.Exists(dc.Export + ExportName))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        public string GetInventoryDirectoryCount()
        {
            InventoryServer inventoryServer = new InventoryServer();

            return(inventoryServer.ProcessingDirectory());
        }