我想獲得計算機的主要視頻控制器的描述。現在,我又回到了LogMeIn的控制,而不是:主要視頻控制器
VideoControllerDescription:LogMeIn的鏡像驅動程序
這裏是我的代碼:
private static string GetVideoControllerDescription()
{
Console.WriteLine("GetVideoControllerDescription");
var s1 = new ManagementObjectSearcher("select * from Win32_VideoController");
foreach (ManagementObject oReturn in s1.Get())
{
return oReturn["Description"].ToString().Trim();
}
return string.Empty;
}
我知道我又回到了第一次打擊,但我怎麼知道它不是像logmein或GotoAssist這樣的軟件控制器?
如果可能,我需要型號,序列號和說明。
請不要用「C#」等來標題。這就是標籤的用途。 – 2012-02-06 18:34:11