本文汇集了在.net中得到计算机硬件信息的一些功能。
得到显示器分辨率
Dim X As Short = System.<a href="http://dev.21tx.com/os/windows/" target="_blank">Windows</a>.Forms.Screen.PrimaryScreen.Bounds.Width
Dim Y As Short = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height
MsgBox("您的显示器分辨率是:" & X & " X " & Y)
相关下载链接:
//download.csdn.net/download/u010369248/5327766?utm_source=bbsseo