> ## Documentation Index
> Fetch the complete documentation index at: https://xrlive.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Network Interfaces

> Get all active network adapters with their IP addresses

## Blueprint node

**Category:** `NetworkInfoLib`\
**Return:** `Array of String` — each entry is a JSON object

## Return format

Each string in the array is a JSON object:

```json theme={null}
{
  "Adapter Name": "en0",
  "Adapter Description": "Wi-Fi",
  "IP Address": "192.168.1.45"
}
```

## Platform behaviour

| Platform    | Implementation                                                                   |
| ----------- | -------------------------------------------------------------------------------- |
| **Windows** | Uses `GetAdaptersInfo` (iphlpapi)                                                |
| **Mac**     | Uses `getifaddrs` + `SCNetworkInterfaceCopyAll` for human-readable adapter names |

## Example

```
List Network Interfaces
    ↓
For Each (parse JSON string → extract "IP Address")
    ↓
Populate dropdown with adapter descriptions
```

## Notes

* Only adapters with an active IPv4 address and `IFF_UP` flag are returned.
* Loopback (`127.0.0.1`) is included in the results.
* On Mac, the `Adapter Description` shows the system name (e.g., "Wi-Fi", "Thunderbolt Ethernet") instead of the BSD interface name.
