Description: Use the API.
Availability: Since Chrome 33.
Permissions: ""


getNetworkInterfaces callback)


getNetworkInterfaces callback)

Retrieves information about local adapters on this system.

function callback

Called when local adapter information is available.

The callback parameter should be a function that looks like this:

function(array of object networkInterfaces) {...};
array of object networkInterfaces

Array of object containing network interfaces information.

Properties of each object

string name

The underlying name of the adapter. On *nix, this will typically be "eth0", "wlan0", etc.

string address

The available IPv4/6 address.

integer prefixLength

The prefix length