Re: attached gateways
Re: attached gateways
- Subject: Re: attached gateways
- From: Chase <email@hidden>
- Date: Tue, 28 Jun 2005 16:42:29 -0500
okay, i've got a little code snippet that's getting me a little
closer on the systemconfiguration thing:
SCDynamicStoreRef storeRef = SCDynamicStoreCreate(nil, nil, nil,
nil);
if (storeRef) {
CFPropertyListRef x = SCDynamicStoreCopyValue(storeRef, CFSTR
("State:/Network/Service/en0/IPv4"));
CFShow(x);
CFRelease(x);
}
it prints out the data i want, but why can't i do the same with
"State:/Network/Service" ?
shouldn't that print out the contents starting at that level?
instead it prints "(null)" and dies with a SIGBUS error.
- chase
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden