Ejemplo n.º 1
0
        public static string[] InfoSearch(string[] searcher)
        {
            var rut = WmiSearcher.InfoSearch("Win32_Processor", searcher);
            var rst = new string[searcher.Length];

            for (var i = 0; i < searcher.Length; ++i)
            {
                rst[i] = rut[0, i];
            }
            return(rst);
        }
Ejemplo n.º 2
0
 public static string InfoSearch(string searcher)
 {
     return(WmiSearcher.InfoSearch("SELECT * FROM Win32_Processor", searcher));
 }