Exemple #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);
        }
Exemple #2
0
 public static string InfoSearch(string searcher)
 {
     return(WmiSearcher.InfoSearch("SELECT * FROM Win32_Processor", searcher));
 }