以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  MAC 获取问题  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=108383)

--  作者:cuicuibing
--  发布时间:2017/10/21 14:06:00
--  MAC 获取问题
Dim nics() As System.Net.NetworkInformation.NetworkInterface = System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces


nics(0).GetPhysicalAddress.Tostring



我用监测网卡mac地址,来验证登录用户,是否可以登录本台电脑。

但是有一部分电脑的mac地址 每次查询出来的不一定一样为什么。




[此贴子已经被作者于2017/10/21 14:07:26编辑过]

--  作者:有点蓝
--  发布时间:2017/10/21 14:18:00
--  
1、有多网卡

2、某些安全软件可能拦截并给了虚假的mac

遍历nics所有的地址有没有一样的?