不一样的坚强

  博客园 :: 首页 :: 联系 ::  :: 管理
  252 Posts :: 1 Stories :: 194 Comments :: 4 Trackbacks

公告

04 2009 档案

posted @ 2009-04-30 14:17 快乐就好 阅读(90) | 评论 (0) 编辑

posted @ 2009-04-30 13:15 快乐就好 阅读(88) | 评论 (1) 编辑

posted @ 2009-04-25 17:36 快乐就好 阅读(448) | 评论 (0) 编辑

摘要: 首先将网页内容整个抓取下来,这个我就不说了,不是本次话题的重点。假设抓取的数据放在RecvBuffer这个byte[]中(数据从网络上传输过来时不是字符串的形式而是byte),那么我们的第一步就是将RecvBuffer转化为String,以便于对其操作,实例如下:// 将接收到的数据增加到响应字符串中 strResponse += Encoding.ASCII.GetString(RecvBuff...阅读全文
posted @ 2009-04-25 17:35 快乐就好 阅读(870) | 评论 (0) 编辑

摘要: 方法一:调用Windows的DOS命令,从输出结果中读取MAC地址:public static String getMACAddress() { String address = "";String os = System.getProperty("os.name");if ( os != null && os.startsWith("Windows")) { try { Stri...阅读全文
posted @ 2009-04-23 15:00 快乐就好 阅读(2551) | 评论 (0) 编辑

posted @ 2009-04-17 23:35 快乐就好 阅读(53) | 评论 (0) 编辑

posted @ 2009-04-17 14:27 快乐就好 阅读(73) | 评论 (0) 编辑

posted @ 2009-04-08 16:11 快乐就好 阅读(44) | 评论 (0) 编辑

posted @ 2009-04-08 11:35 快乐就好 阅读(188) | 评论 (0) 编辑

posted @ 2009-04-08 11:20 快乐就好 阅读(168) | 评论 (0) 编辑

posted @ 2009-04-06 14:05 快乐就好 阅读(36) | 评论 (0) 编辑

posted @ 2009-04-05 22:49 快乐就好 阅读(351) | 评论 (1) 编辑

posted @ 2009-04-05 22:05 快乐就好 阅读(1067) | 评论 (1) 编辑

posted @ 2009-04-05 21:29 快乐就好 阅读(303) | 评论 (0) 编辑

posted @ 2009-04-01 22:48 快乐就好 阅读(619) | 评论 (0) 编辑