• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Network Devices (en0, en1, etc.) in an NSPopUpButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network Devices (en0, en1, etc.) in an NSPopUpButton


  • Subject: Re: Network Devices (en0, en1, etc.) in an NSPopUpButton
  • From: Chris Ridd <email@hidden>
  • Date: Thu, 27 Nov 2003 20:58:49 +0000

On 27/11/03 5:21 pm, Chris Garaffa <email@hidden> wrote:
> On Nov 27, 2003, at 10:21 AM, Chris Ridd wrote:
>> You may also want to display the friendly name associated with each
>> interface like System Preferences (eg "Built-in Ethernet", "Airport").
>> I
>> think you can get that from the SystemConfiguration.framework, but I'm
>> not
>> sure how and I can't find any documentation of it apart from the header
>> files.

Well, a bit of a grep suggests there's some kind of dictionary returned by
something (!), one key of which is kSCPropInterfaceName, ie "InterfaceName".
Sounds hopeful.

There's some sample code at developer.apple.com called "MoreSCF" which might
be useful. It looks like quite a lot of work :-(

Cheers,

Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Network Devices (en0, en1, etc.) in an NSPopUpButton (From: Chris Garaffa <email@hidden>)

  • Prev by Date: Re: tabbing between controls
  • Next by Date: const char* to char*
  • Previous by thread: Re: Network Devices (en0, en1, etc.) in an NSPopUpButton
  • Next by thread: Saving Strategy
  • Index(es):
    • Date
    • Thread