OBJECTIVE C - Listing network adapters

How can I list all the network adapters available on the computer, as well as their status and type. For instance:

Ethernet: Connected

AirPort: Off

FireWire: Not Connected

Bluetooth PAN: Connected

Just like the Network settings in OS X does.

Specifically I want to figure out if Bluetooth PAN Is connected or not.

Any help?

Thanks!

This question and answers originated from www.stackoverflow.com
Question by (11/16/2010 6:00:56 PM)

Answer

Use the System Configuration framework. Here's the Guide and Reference.

Answer by

Find More Answers
Related Topics  objective-c  cocoa  networking
Related Questions
  • Limit scope of Network Adapters?

    Is it possible for me to limit the scope of my network adapters? The situation is this: I have an active LAN connection, AND I'm tethering my phone. Both have internet access, but only the LAN c…
  • Loads of fake network adapters?

    When I run ipconfig I have 27 network adapters, but I only have 2 or 3. Why does this happen and how can I clean it up? I use a VPN connection and Remote Desktop.
  • Differentiate VMware network adapter from physical network adapters

    I have to differentiate between the real addresses and the VM addresses using any Windows API. I'm using Getadaptersaddresses API to populate a list of ipaddresses for the local machine. I need to e…
  • Powerline network adapters vs wireless range extender

    My home office is upstairs and I do not get good wireless reception there (1-2 bars, max ~18Mbps network speed, and speedtest.net tops out at around 2Mbps). About 6 feet away from the metal spiral s…
  • Network load balancing with bridged NIC adapters

    I am having problems when trying to create a cluster by choosing the network bridge i created for my server. The cluster will return a host not found while configuring at the last step of a clusteri…
  • IP usage with multiple network adapters

    This is a general networking question. Suppose that I have a web server in a machine XYZ with 2 or more physical network adapters with IP's A, B, C and D. If I access the web application in th…
  • Two network adapters with the same ip

    I have two network adapters that use the same ip range, but are different networks. I tried this but it didn't work: iptables -t nat -A OUTPUT -p all -d 1.2.3.0/8 -j DNAT --to-destination 192.…
  • VMware virtual network adapters and Windows Firewall

    I am running VMware Workstation 7.1.4 on Windows 7 Enterprise SP1-U (x64). Aside from the physical network adapter, I have created a single virtual network adapter (VMware Virtual Ethernet Adapter f…
  • VMware virtual network adapters and Windows Firewall

    I am running VMware Workstation 7.1.4 on Windows 7 Enterprise SP1-U (x64). Aside from the physical network adapter, I have created a single virtual network adapter (VMware Virtual Ethernet Adapter f…
  • listing network shares with python

    if I explicitly attempt to list the contents of a shared directory on a remote host using python on a windows machine, the operation succeeds, for example, the following snippet works fine: os.li…