Comboy的技术笔记

导航

2006年8月24日

.net中得到计算机硬件信息

摘要: 本文汇集了在.net中得到计算机硬件信息的一些功能。 得到显示器分辨率 Dim X As Short = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width Dim Y As Short = System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height ... 阅读全文

posted @ 2006-08-24 22:41 ComBoy 阅读(236) 评论(0) 推荐(0) 编辑

HTTP POST

摘要: Dim web As New System.Net.WebClient()web.Headers.Add("Content-Type", "application/x-www-form-urlencoded")Dim d As Byte() = System.Text.Encoding.ASCII.GetBytes("SEARCHSTRING=test")Dim res As Byte() = w... 阅读全文

posted @ 2006-08-24 22:34 ComBoy 阅读(230) 评论(0) 推荐(0) 编辑