Ejemplo n.º 1
0
 // Token: 0x06000C2D RID: 3117 RVA: 0x000244BC File Offset: 0x000226BC
 public static WmiInstanceProperty PropertyQuery(string wmiclass, string property, string condition, ManagementScope scope = null)
 {
     foreach (WmiInstanceClass wmiInstanceClass in WmiInstance.ParseObjectCollection(WmiInstance.GetObjectCollection(wmiclass, property, condition, scope)))
     {
         WmiInstanceProperty[] properties = wmiInstanceClass.Properties;
         int num = 0;
         if (num < properties.Length)
         {
             return(properties[num]);
         }
     }
     return(null);
 }
Ejemplo n.º 2
0
 // Token: 0x06000C28 RID: 3112 RVA: 0x000095FA File Offset: 0x000077FA
 public static WmiInstanceClassCollection Query(string wmiclass, string[] properties, string condition, ManagementScope scope = null)
 {
     return(WmiInstance.ParseObjectCollection(WmiInstance.GetObjectCollection(wmiclass, properties, condition, scope)));
 }
Ejemplo n.º 3
0
 // Token: 0x06000C2B RID: 3115 RVA: 0x0000961F File Offset: 0x0000781F
 public static WmiInstanceClassCollection CustomQuery(ObjectQuery query, ManagementScope scope = null)
 {
     return(WmiInstance.ParseObjectCollection(WmiInstance.GetObjectCollection(query, scope)));
 }