Foxtable(狐表)用户栏目专家坐堂 → 项目保密及安全问题


  共有2606人关注过本帖树形打印复制链接

主题:项目保密及安全问题

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:112399 积分:572263 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2018/4/9 21:37:00 [显示全部帖子]


Dim nics() As System.Net.NetworkInformation.NetworkInterface = System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces

Dim find As Boolean

For Each nic As object In nics

    Dim fdr As DataRow = DataTables("表").Find("网卡 = '" & nic.GetPhysicalAddress.tostring & "'")

    If fdr IsNot Nothing Then

        find = True

        Exit For

    End If

Next

If find = False Then

    msgbox("没有权限")

    basemainform.Close

End If


 回到顶部