getNetworkIfs

abstract fun getNetworkIfs(includeLocalInterfaces: Boolean): List<NetworkIF>

Returns the list of network interfaces on the system. If includeLocalInterfaces is true, local interfaces (e.g., loopback interfaces) will also be included.

Return

A list of network interfaces on the system.

Parameters

includeLocalInterfaces

Whether to include local network interfaces such as loopback interfaces.