Returns the name of the primary network interface, i.e. the one currently providing the default route.
The BSD interface name (e.g. "en0"), or null if no primary interface can be determined.
"en0"
null
Returns the name of the primary network interface, i.e. the one currently providing the default route.