示例#1
0
		public List<SoftwareDTOResponse> GetSoftwareInfo()
		{
			WindowsRegistryDetectorSource regInfo = new WindowsRegistryDetectorSource();
			List<SoftwareDTOResponse> software = regInfo.GetSoftwareInfo();
			if (software.Count == 0) {

				software = wmiDetector.GetSoftwareInfo();
			}
			return software;
		}
示例#2
0
        public List <SoftwareDTOResponse> GetSoftwareInfo()
        {
            WindowsRegistryDetectorSource regInfo  = new WindowsRegistryDetectorSource();
            List <SoftwareDTOResponse>    software = regInfo.GetSoftwareInfo();

            if (software.Count == 0)
            {
                software = wmiDetector.GetSoftwareInfo();
            }
            return(software);
        }