Is it possible using Objective C in Mac OS to determine the type of active network connection (Wifi or LAN)?
I referred Reachability example code in Apple Library (https://developer.apple.com/library/IOs/samplecode/Reachability/Introduction/Intro.html) but was unable to get any information to detect LAN network type on Mac OS.
Please help me on this.
Thanks.
SCNetworkInterfaceCopyAll
This should guide you to getting the interfaces. You will then need to work out the service order.SCNetworkSetGetServiceOrder
– markhunte