摘要: string s = "02-56-00-FF-FF-0B-4F-21-14-A2-1C-D5-4C-37-9B-CD"; string[] ss = s.Split('-'); byte[] b = new byte[ss.Length]; for (int i = 0; i < ss.Length; i++) { b[i] = (byte)Convert.ToInt32(ss[i], 1... 阅读全文
posted @ 2009-12-24 00:10 adriana 阅读(742) 评论(0) 推荐(0)