Delphigetmac

所属分类:Pascal/Delphi编程
开发工具:Delphi
文件大小:4KB
下载次数:2
上传日期:2014-07-19 15:45:30
上 传 者zhaoqh
说明:  Delphi获取网卡地址,也就是MAC地址,获取计算机中安装的第一块网卡的MAC地址,这里是使用Delphi调用了NetBios函数,用此函数,你可以获得除MAC地址以外的更多网络信息。将NCB的ncb_command成员设为NCBENUM,可以得到计算机的网卡数量 设为NCBASTAT,可以得到某块网卡的信息。   在查询MAC之前,需要将网卡Reset,可以通过NCB的ncb_command成员设为NCBRESET并调用NetBios函数来实现。
(Delphi access to the network card address, or MAC address, access to the computer installed the first block in the MAC address of network card, here is the use of Delphi calls the NetBios function, using this function, you can get more information from outside the network MAC address. The NCB member of the ncb_command is set to NCBENUM, can get the number of computer network set to NCBASTAT, can get a piece of card information. In the query MAC before, will need to network card Reset, NCB through the ncb_command member is NCBRESET and call the NetBios function to achieve.)

文件列表:
Delphi获取网卡地址\ex98.cfg (342, 2002-07-04)
Delphi获取网卡地址\ex98.dof (1040, 2002-07-04)
Delphi获取网卡地址\ex98.dpr (180, 2002-07-04)
Delphi获取网卡地址\ex98.res (876, 2002-06-20)
Delphi获取网卡地址\mac.dcu (3120, 2002-07-04)
Delphi获取网卡地址\mac.dfm (741, 2002-07-04)
Delphi获取网卡地址\mac.pas (391, 2014-04-17)
Delphi获取网卡地址 (0, 2014-04-17)

近期下载者

相关文件


收藏者