Function

CNCopyCurrentNetworkInfo

Returns the current network info for a given network interface.

Declaration

CFDictionaryRef CNCopyCurrentNetworkInfo(CFStringRef interfaceName);

Parameters

interfaceName

The network interface.

Return Value

A dictionary containing the interface’s current network info. Ownership follows the The Create Rule.

Discussion