检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]天水师范学院数理与信息科学学院,甘肃天水741001
出 处:《天水师范学院学报》2004年第2期38-39,48,共3页Journal of Tianshui Normal University
摘 要:在学校校园网的安全管理中,常常需要获得每台上网计算机的和网卡IPMAC地址的对照表。通过在C#中调用Windows的API函数inet-addr和SendARP,向远程主机发送ARP数据包,最后从返回的数据包中获得远程主机MAC地址及IP地址的对照表。这种方法解决了c#中获得远程计算机网卡MAC地址的问题。In the safety management of computer's internet, It is quite often needed to obtain IP and MAC addresses of every on_line computer. This paper examplifies a way to obtain the remote host computer's MAC address in C#, which employs the windows actions of inet_addr and send ARP to send ARP database package to the remote host computer, and hindly obtains the remote host computer's IP and MAC addresses from the database package returned.
关 键 词:校园网 C#语言 远程主机 MAC地址 Windows API函数 程序设计
分 类 号:TP393.18[自动化与计算机技术—计算机应用技术] TP311.1[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28