pstool.net
声明
public map net()
参数
| 参数名 | 描述 |
|---|
作用
该接口用来获取网络的使用情况,获取所有网卡的信息,包含虚拟网卡
数据样例
{ /* sizeof() == 1 */
"net_message" : "
<NetCard1>:{
<CardInfo>:<Intel(R) Ethernet Connection (7) I219-V>
<Ip>:<10.5.1.191>
<Mask>:<255.255.255.0>
<Gate>:<10.5.1.1>
<Mac>:<70-B5-E8-2A-68-85>
},
<NetCard2>:{
<CardInfo>:<VirtualBox Host-Only Ethernet Adapter>
<Ip>:<192.168.56.1>
<Mask>:<255.255.255.0>
<Gate>:<0.0.0.0>
<Mac>:<0A-00-27-00-00-0F>
},
<NetCardNum>:<33>,
}