摘要: 前几天有人问我如何在ASP.NET中获取客户端的MAC地址,当时没多想,google了一段代码给他,如下所示:CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->[DllImport("Iphlpapi.dll")]privatestaticexternintSendARP(Int32dest,Int32host,refInt64mac,refInt32length);[DllImport("Ws2_32.d 阅读全文
posted @ 2009-06-07 02:03 细雨黄昏 阅读(11906) 评论(2) 推荐(0) 编辑