Re: Determining if the current network location is "Automatic"
Re: Determining if the current network location is "Automatic"
- Subject: Re: Determining if the current network location is "Automatic"
- From: Allan Nathanson <email@hidden>
- Date: Sun, 21 Sep 2003 10:47:12 -0400
On Sep 20, 2003, at 10:11 PM, Ryan McGann wrote:
In my app I'd like to be able to determine if the current network
location is "Automatic", and act differently then when the network
location is set to a specific user-created location. Is there
something I can use to identify the "Automatic" location other than
its user visible name (which can change with localization)?
There is nothing special about the network configuration associated
with the initial "Automatic" location. In fact, using the Network
Prefs pane you can change the settings for this location to be anything
you like. As such, I would shy away from simply checking for the
"name".
Is the set ID guaranteed not to change across Mac OS X systems?
Nope.
... and what would you do differently for an alternate location?
- Allan
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.