Returns the configuration settings associated with the specified interface.
SDK
- macOS 10.4+
Framework
- System
Configuration
Declaration
CFDictionary Ref SCNetworkInterfaceGetConfiguration(SCNetwork Interface Ref interface);
Parameters
interface
The network interface.
Return Value
The configuration settings associated with the interface, or NULL
if no configuration settings are associated with the interface or an error occurred.