public List<SoftwareDTOResponse> GetSoftwareInfo() { WindowsRegistryDetectorSource regInfo = new WindowsRegistryDetectorSource(); List<SoftwareDTOResponse> software = regInfo.GetSoftwareInfo(); if (software.Count == 0) { software = wmiDetector.GetSoftwareInfo(); } return software; }
public List <SoftwareDTOResponse> GetSoftwareInfo() { WindowsRegistryDetectorSource regInfo = new WindowsRegistryDetectorSource(); List <SoftwareDTOResponse> software = regInfo.GetSoftwareInfo(); if (software.Count == 0) { software = wmiDetector.GetSoftwareInfo(); } return(software); }