コード例 #1
0
 public List <ManagementObject> GetManagementObjectsForSoftwareComponent(IWMIClient wmiClient)
 {
     return(wmiClient.RetriveListOfObjectsByExecutingWMIQuery(ConstString.WMI_NAMESPACE_ROOT_CIMV2, ConstString.WMI_QUERY_OS));
 }
コード例 #2
0
 public List <ManagementObject> GetManagementObjectsForHardwareComponent(IWMIClient wMIClient)
 {
     return(wMIClient.RetriveListOfObjectsByExecutingWMIQuery(ConstString.WMI_NAMESPACE_ROOT_CIMV2, ConstString.WMI_QUERY_PNP_ENTITY));
 }
コード例 #3
0
 public List <ManagementObject> GetManagementObjectsForHardwareComponent(IWMIClient wMIClient)
 {
     return(wMIClient.RetriveListOfObjectsByExecutingWMIQuery(ConstString.WMI_NAMESPACE_ROOT_WMI, ConstString.WMI_QUERY_SMART_THRESHOLDS));
 }
コード例 #4
0
 public List <ManagementObject> GetManagementObjectsForHardwareComponent(IWMIClient wMIClient)
 {
     return(wMIClient.RetriveListOfObjectsByExecutingWMIQuery(ConstString.WMI_NAMESPACE_ROOT_MICROSOFT_WINDOWS_STORAGE, ConstString.WMI_QUERY_DISK_PARTITION));
 }
コード例 #5
0
 public List <ManagementObject> GetManagementObjectsForHardwareComponent(IWMIClient wMIClient)
 {
     return(wMIClient.RetriveListOfObjectsByExecutingWMIQuery(ConstString.WMI_NAMESPACE_ROOT_STANDARD_CIMV2, ConstString.WMI_QUERY_NETWORK_ADAPTER));
 }