Documentation
Sys_GetNetworkInfo
array Sys_GetNetworkInfo ()
Returns
Array with information about all network adapters
Description
Provides information about all network adapters.
Example
print_r(Sys_GetNetworkInfo());
/*
// Example output
Array
(
[0] => Array
(
[InterfaceIndex] => 10
[IP] => 192.168.1.2
[MAC] => 00:A0:03:AD:14:BD
[Description] => Siemens I BT USB Remote NDIS Network Device
[Speed] => 9728000
[InTotal] => 40236
[OutTotal] => 247248
)
[1] => Array
(
[InterfaceIndex] => 13
[IP] => 172.12.1.200
[MAC] => 00:A0:03:AD:14:BD
[Description] => Qualcomm Atheros AR8151 PCI-E Gigabit Ethernet Controller (NDIS 6.30)
[Speed] => 1000000000
[InTotal] => 169987950
[OutTotal] => 86029648
)
)
*/