Expand description
§Bindings to the SystemConfiguration framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- SCBond
Status SCNetworkConfiguration - This is the type of a reference to an object that represents the status of an Ethernet Bond interface.
- SCDynamic
Store SCDynamicStore - This is the handle to an open a dynamic store session with the system configuration daemon.
- SCDynamic
Store Context SCDynamicStore - Structure containing user-specified data and callbacks for an SCDynamicStore session. Field: version The version number of the structure type being passed in as a parameter to the SCDynamicStore creation function. This structure is version 0. Field: info A C pointer to a user-specified block of data. Field: retain The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: release The calllback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: copyDescription The callback used to provide a description of the info field.
- SCNetwork
Connection SCNetworkConnection - This is the handle to manage a connection-oriented service.
- SCNetwork
Connection Context SCNetworkConnection - Structure containing user-specified data and callbacks for a SCNetworkConnection. Field: version The version number of the structure type being passed in as a parameter to the SCNetworkConnectionCreateWithServiceID function. This structure is version 0. Field: info A C pointer to a user-specified block of data. Field: retain The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: release The calllback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: copyDescription The callback used to provide a description of the info field.
- SCNetwork
ConnectionPPP Status SCNetworkConnection - PPP-specific status of the network connection. This status is returned as part of the extended information for a PPP service. Note: additional status might be returned in the future. Your application should be prepared to receive an unknown value.
- SCNetwork
Connection Status SCNetworkConnection - Status of the network connection. This status is intended to be generic and high level. An extended status, specific to the type of network connection is also available for applications that need additonal information.
- SCNetwork
Interface SCNetworkConfiguration - This is the type of a reference to an object that represents a network interface.
- SCNetwork
Protocol SCNetworkConfiguration - This is the type of a reference to an object that represents a network protocol.
- SCNetwork
Reachability SCNetworkReachability - This is the handle to a network address or name.
- SCNetwork
Reachability Context SCNetworkReachability - Structure containing user-specified data and callbacks for SCNetworkReachability. Field: version The version number of the structure type being passed in as a parameter to the SCDynamicStore creation function. This structure is version 0. Field: info A C pointer to a user-specified block of data. Field: retain The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: release The calllback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: copyDescription The callback used to provide a description of the info field.
- SCNetwork
Reachability Flags SCNetworkReachability - Flags that indicate whether the specified network nodename or address is reachable, whether a connection is required, and whether some user intervention may be required when establishing a connection.
- SCNetwork
Service SCNetworkConfiguration - This is the type of a reference to an object that represents a network service.
- SCNetwork
Set SCNetworkConfiguration - This is the type of a reference to an object that represents a network set.
- SCPreferences
SCPreferences - This is the handle to an open preferences session for accessing system configuration preferences.
- SCPreferences
Context SCPreferences - Structure containing user-specified data and callbacks for SCPreferences. Field: version The version number of the structure type being passed in as a parameter to the SCPreferencesSetCallback function. This structure is version 0. Field: info A C pointer to a user-specified block of data. Field: retain The callback used to add a retain for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: release The calllback used to remove a retain previously added for the info field. If this parameter is not a pointer to a function of the correct prototype, the behavior is undefined. The value may be NULL. Field: copyDescription The callback used to provide a description of the info field.
- SCPreferences
Notification SCPreferences - Used with the SCPreferencesCallBack callback to describe the type of notification.
Constants§
- kSCBond
Status Link Invalid SCNetworkConfiguration - Apple’s documentation
- kSCBond
Status NoPartner SCNetworkConfiguration - Apple’s documentation
- kSCBond
Status NotIn Active Group SCNetworkConfiguration - Apple’s documentation
- kSCBond
StatusOK SCNetworkConfiguration - Apple’s documentation
- kSCBond
Status Unknown SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Flags Connection Automatic SCNetwork - Apple’s documentation
- kSCNetwork
Flags Connection Required SCNetwork - Apple’s documentation
- kSCNetwork
Flags Intervention Required SCNetwork - Apple’s documentation
- kSCNetwork
Flags IsDirect SCNetwork - Apple’s documentation
- kSCNetwork
Flags IsLocal Address SCNetwork - Apple’s documentation
- kSCNetwork
Flags Reachable SCNetwork - Apple’s documentation
- kSCNetwork
Flags Transient Connection SCNetwork - Apple’s documentation
- kSCStatus
Access Error - Apple’s documentation
- kSCStatus
Connection Ignore - Apple’s documentation
- kSCStatus
Connection NoService - Apple’s documentation
- kSCStatus
Failed - Apple’s documentation
- kSCStatus
Invalid Argument - Apple’s documentation
- kSCStatus
KeyExists - Apple’s documentation
- kSCStatus
Locked - Apple’s documentation
- kSCStatus
MaxLink - Apple’s documentation
- kSCStatus
Need Lock - Apple’s documentation
- kSCStatus
NoConfig File - Apple’s documentation
- kSCStatus
NoKey - Apple’s documentation
- kSCStatus
NoLink - Apple’s documentation
- kSCStatus
NoPrefs Session - Apple’s documentation
- kSCStatus
NoStore Server - Apple’s documentation
- kSCStatus
NoStore Session - Apple’s documentation
- kSCStatus
Notifier Active - Apple’s documentation
- kSCStatusOK
- Apple’s documentation
- kSCStatus
Prefs Busy - Apple’s documentation
- kSCStatus
Reachability Unknown - Apple’s documentation
- kSCStatus
Stale - Apple’s documentation
Statics§
- kCFError
Domain ⚠System Configuration - CFError domain associated with errors reported by the SystemConfiguration.framework.
- kCNNetwork
Info ⚠KeyBSSID CaptiveNetwork - NetworkInfo Dictionary key for BSSID in CFString format
- kCNNetwork
Info ⚠KeySSID CaptiveNetwork - NetworkInfo Dictionary key for SSID in CFString format
- kCNNetwork
Info ⚠KeySSID Data CaptiveNetwork - NetworkInfo Dictionary key for SSID in CFData format
- kSCBond
Status ⚠Device Aggregation Status SCNetworkConfiguration - Apple’s documentation
- kSCBond
Status ⚠Device Collecting SCNetworkConfiguration - Apple’s documentation
- kSCBond
Status ⚠Device Distributing SCNetworkConfiguration - Apple’s documentation
- kSCComp
AnyRegex ⚠SCSchemaDefinitions - Apple’s documentation
- kSCComp
Global ⚠SCSchemaDefinitions - Apple’s documentation
- kSCComp
Host ⚠Names SCSchemaDefinitions - Apple’s documentation
- kSCComp
Interface ⚠SCSchemaDefinitions - Apple’s documentation
- kSCComp
Network ⚠SCSchemaDefinitions - Apple’s documentation
- kSCComp
Service ⚠SCSchemaDefinitions - Apple’s documentation
- kSCComp
System ⚠SCSchemaDefinitions - Apple’s documentation
- kSCComp
Users ⚠SCSchemaDefinitions - Apple’s documentation
- kSCDynamic
Store ⚠Domain File SCSchemaDefinitions - Apple’s documentation
- kSCDynamic
Store ⚠Domain Plugin SCSchemaDefinitions - Apple’s documentation
- kSCDynamic
Store ⚠Domain Prefs SCSchemaDefinitions - Apple’s documentation
- kSCDynamic
Store ⚠Domain Setup SCSchemaDefinitions - Apple’s documentation
- kSCDynamic
Store ⚠Domain State SCSchemaDefinitions - Apple’s documentation
- kSCDynamic
Store ⚠Prop NetInterfaces SCSchemaDefinitions - Value is a CFArrayCFString
- kSCDynamic
Store ⚠Prop NetPrimary Interface SCSchemaDefinitions - Value is a CFString
- kSCDynamic
Store ⚠Prop NetPrimary Service SCSchemaDefinitions - Value is a CFString
- kSCDynamic
Store ⚠Prop NetServiceI Ds SCSchemaDefinitions - Value is a CFArrayCFString
- kSCDynamic
Store ⚠Prop Setup Current Set SCSchemaDefinitions - Value is a CFString
- kSCDynamic
Store ⚠Prop Setup Last Updated SCSchemaDefinitions - Apple’s documentation
- kSCDynamic
Store ⚠UseSession Keys SCDynamicStore - Apple’s documentation
- kSCEnt
Net6to4 ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetAir ⚠Port SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetDHCP ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetDNS ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetEthernet ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetFire ⚠Wire SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetIP ⚠Sec SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetI ⚠Pv4 SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetI ⚠Pv6 SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetInterface ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetL2TP ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetLink ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetModem ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetPPP ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetPPP ⚠Serial SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetPP ⚠PoE SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetPPTP ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetProxies ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
NetSMB ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCEnt
Users ⚠Console User SCSchemaDefinitions - Apple’s documentation
- kSCNetwork
InterfaceI ⚠Pv4 SCNetworkConfiguration - A network interface that can used for layering other interfaces (e.g. 6to4, IPSec, PPTP, L2TP) over an existing IPv4 network.
- kSCNetwork
Interface ⚠Type6to4 SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠Type Bluetooth SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠Type Bond SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠Type Ethernet SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠Type Fire Wire SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠TypeIEE E80211 SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠TypeIP Sec SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠TypeI Pv4 SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠Type IrDA SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠Type L2TP SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠Type Modem SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠TypePPP SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠TypePPTP SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠Type Serial SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠TypeVLAN SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Interface ⚠TypeWWAN SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Protocol ⚠TypeDNS SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Protocol ⚠TypeI Pv4 SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Protocol ⚠TypeI Pv6 SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Protocol ⚠Type Proxies SCNetworkConfiguration - Apple’s documentation
- kSCNetwork
Protocol ⚠TypeSMB SCNetworkConfiguration - Apple’s documentation
- kSCPref
Current ⚠Set SCSchemaDefinitions - Value is a CFString
- kSCPref
Network ⚠Services SCSchemaDefinitions - Value is a CFDictionary
- kSCPref
Sets ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCPref
System ⚠SCSchemaDefinitions - Value is a CFDictionary
- kSCProp
Interface ⚠Name SCSchemaDefinitions - Value is a CFString
- kSCPropMAC
Address ⚠SCSchemaDefinitions - Value is a CFString
- kSCProp
Net6to4 ⚠Relay SCSchemaDefinitions - Value is a CFString
- kSCProp
NetAir ⚠Port Allow NetCreation SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetAir ⚠Port Auth Password SCSchemaDefinitions - Value is a CFData
- kSCProp
NetAir ⚠Port Auth Password Encryption SCSchemaDefinitions - Value is a CFString
- kSCProp
NetAir ⚠Port Join Mode SCSchemaDefinitions - Value is a CFString
- kSCProp
NetAir ⚠Port Power Enabled SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetAir ⚠Port Preferred Network SCSchemaDefinitions - Value is a CFString
- kSCProp
NetAir ⚠Port Save Passwords SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetDNS ⚠Domain Name SCSchemaDefinitions - Value is a CFString
- kSCProp
NetDNS ⚠Options SCSchemaDefinitions - Value is a CFString
- kSCProp
NetDNS ⚠Search Domains SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetDNS ⚠Search Order SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetDNS ⚠Server Addresses SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetDNS ⚠Server Port SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetDNS ⚠Server Timeout SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetDNS ⚠Sort List SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetDNS ⚠Supplemental Match Domains SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetDNS ⚠Supplemental Match Orders SCSchemaDefinitions - Value is a CFArrayCFNumber
- kSCProp
NetEthernetMTU ⚠SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetEthernet ⚠Media Options SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetEthernet ⚠Media SubType SCSchemaDefinitions - Value is a CFString
- kSCProp
NetIP ⚠SecAuthentication Method SCSchemaDefinitions - Value is a CFString
- kSCProp
NetIP ⚠SecConnect Time SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetIP ⚠SecLocal Certificate SCSchemaDefinitions - Value is a CFData
- kSCProp
NetIP ⚠SecLocal Identifier SCSchemaDefinitions - Value is a CFString
- kSCProp
NetIP ⚠SecLocal Identifier Type SCSchemaDefinitions - Value is a CFString
- kSCProp
NetIP ⚠SecRemote Address SCSchemaDefinitions - Value is a CFString
- kSCProp
NetIP ⚠SecShared Secret SCSchemaDefinitions - Value is a CFString
- kSCProp
NetIP ⚠SecShared Secret Encryption SCSchemaDefinitions - Value is a CFString
- kSCProp
NetIP ⚠SecStatus SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetIP ⚠SecX Auth Enabled SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetIP ⚠SecX Auth Name SCSchemaDefinitions - Value is a CFString
- kSCProp
NetIP ⚠SecX Auth Password SCSchemaDefinitions - Value is a CFString
- kSCProp
NetIP ⚠SecX Auth Password Encryption SCSchemaDefinitions - Value is a CFString
- kSCProp
NetI ⚠Pv4Addresses SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetI ⚠Pv4Broadcast Addresses SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetI ⚠Pv4Config Method SCSchemaDefinitions - Value is a CFString
- kSCProp
NetI ⚠Pv4DHCP ClientID SCSchemaDefinitions - Value is a CFString
- kSCProp
NetI ⚠Pv4Dest Addresses SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetI ⚠Pv4Router SCSchemaDefinitions - Value is a CFString
- kSCProp
NetI ⚠Pv4Subnet Masks SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetI ⚠Pv6Addresses SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetI ⚠Pv6Config Method SCSchemaDefinitions - Value is a CFString
- kSCProp
NetI ⚠Pv6Dest Addresses SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetI ⚠Pv6Flags SCSchemaDefinitions - Value is a CFArrayCFNumber
- kSCProp
NetI ⚠Pv6Prefix Length SCSchemaDefinitions - Value is a CFArrayCFNumber
- kSCProp
NetI ⚠Pv6Router SCSchemaDefinitions - Value is a CFString
- kSCProp
NetInterface ⚠Device Name SCSchemaDefinitions - Value is a CFString
- kSCProp
NetInterface ⚠Hardware SCSchemaDefinitions - Value is a CFString
- kSCProp
NetInterface ⚠SubType SCSchemaDefinitions - Value is a CFString
- kSCProp
NetInterface ⚠Supports Modem OnHold SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetInterface ⚠Type SCSchemaDefinitions - Value is a CFString
- kSCProp
NetInterfaces ⚠SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetL2TPIP ⚠SecShared Secret SCSchemaDefinitions - Value is a CFString
- kSCProp
NetL2TPIP ⚠SecShared Secret Encryption SCSchemaDefinitions - Value is a CFString
- kSCProp
NetL2TP ⚠Transport SCSchemaDefinitions - Value is a CFString
- kSCProp
NetLink ⚠Active SCSchemaDefinitions - Value is a CFBoolean
- kSCProp
NetLink ⚠Detaching SCSchemaDefinitions - Value is a CFBoolean
- kSCProp
NetLocal ⚠Host Name SCSchemaDefinitions - Value is a CFString
- kSCProp
NetModem ⚠Access Point Name SCSchemaDefinitions - Value is a CFString
- kSCProp
NetModem ⚠Connect Speed SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetModem ⚠Connection Personality SCSchemaDefinitions - Value is a CFString
- kSCProp
NetModem ⚠Connection Script SCSchemaDefinitions - Value is a CFString
- kSCProp
NetModem ⚠Data Compression SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetModem ⚠Device ContextID SCSchemaDefinitions - Value is a CFString
- kSCProp
NetModem ⚠Device Model SCSchemaDefinitions - Value is a CFString
- kSCProp
NetModem ⚠Device Vendor SCSchemaDefinitions - Value is a CFString
- kSCProp
NetModem ⚠Dial Mode SCSchemaDefinitions - Value is a CFString
- kSCProp
NetModem ⚠Error Correction SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetModem ⚠Hold Call Waiting Audible Alert SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetModem ⚠Hold Disconnect OnAnswer SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetModem ⚠Hold Enabled SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetModem ⚠Hold Reminder SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetModem ⚠Hold Reminder Time SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetModem ⚠Note SCSchemaDefinitions - Value is a CFString
- kSCProp
NetModem ⚠Pulse Dial SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetModem ⚠Speaker SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetModem ⚠Speed SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetOverride ⚠Primary SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPPACSP ⚠Enabled SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠AuthEAP Plugins SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetPPP ⚠Auth Name SCSchemaDefinitions - Value is a CFString
- kSCProp
NetPPP ⚠Auth Password SCSchemaDefinitions - Value is a CFString
- kSCProp
NetPPP ⚠Auth Password Encryption SCSchemaDefinitions - Value is a CFString
- kSCProp
NetPPP ⚠Auth Prompt SCSchemaDefinitions - Value is a CFString
- kSCProp
NetPPP ⚠Auth Protocol SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetPPPCCP ⚠Enabled SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPPCCPMPP ⚠E40Enabled SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPPCCPMPP ⚠E128 Enabled SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Comm Alternate Remote Address SCSchemaDefinitions - Value is a CFString
- kSCProp
NetPPP ⚠Comm Connect Delay SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠Comm Display Terminal Window SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Comm Redial Count SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠Comm Redial Enabled SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Comm Redial Interval SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠Comm Remote Address SCSchemaDefinitions - Value is a CFString
- kSCProp
NetPPP ⚠Comm Terminal Script SCSchemaDefinitions - Value is a CFString
- kSCProp
NetPPP ⚠Comm UseTerminal Script SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Connect Time SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠Device Last Cause SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠Dial OnDemand SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Disconnect OnFast User Switch SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Disconnect OnIdle SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Disconnect OnIdle Timer SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠Disconnect OnLogout SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Disconnect OnSleep SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Disconnect Time SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPPIPCP ⚠CompressionVJ SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPPIPCP ⚠UsePeerDNS SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Idle Reminder SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Idle Reminder Timer SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPPLCP ⚠CompressionAC Field SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPPLCP ⚠CompressionP Field SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPPLCP ⚠Echo Enabled SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPPLCP ⚠Echo Failure SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPPLCP ⚠Echo Interval SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPPLCPMRU ⚠SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPPLCPMTU ⚠SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPPLCP ⚠ReceiveACCM SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPPLCP ⚠TransmitACCM SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠Last Cause SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠Logfile SCSchemaDefinitions - Value is a CFString
- kSCProp
NetPPP ⚠Override Primary SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Plugins SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetPPP ⚠Retry Connect Time SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠Session Timer SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠Status SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetPPP ⚠UseSession Timer SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetPPP ⚠Verbose Logging SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxies ⚠Exceptions List SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetProxies ⚠Exclude Simple Hostnames SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxiesFTP ⚠Enable SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxiesFTP ⚠Passive SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxiesFTP ⚠Port SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetProxiesFTP ⚠Proxy SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxiesFTP ⚠User SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxies ⚠Gopher Enable SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxies ⚠Gopher Port SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetProxies ⚠Gopher Proxy SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxies ⚠Gopher User SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxiesHTTP ⚠Enable SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxiesHTTP ⚠Port SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetProxiesHTTP ⚠Proxy SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxiesHTTPS ⚠Enable SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxiesHTTPS ⚠Port SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetProxiesHTTPS ⚠Proxy SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxiesHTTPS ⚠User SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxiesHTTP ⚠User SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxies ⚠Proxy Auto Config Enable SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxies ⚠Proxy Auto Config Java Script SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxies ⚠Proxy Auto ConfigURL String SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxies ⚠Proxy Auto Discovery Enable SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxiesRTSP ⚠Enable SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxiesRTSP ⚠Port SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetProxiesRTSP ⚠Proxy SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxiesRTSP ⚠User SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxiesSOCKS ⚠Enable SCSchemaDefinitions - Value is a CFNumber (0 or 1)
- kSCProp
NetProxiesSOCKS ⚠Port SCSchemaDefinitions - Value is a CFNumber
- kSCProp
NetProxiesSOCKS ⚠Proxy SCSchemaDefinitions - Value is a CFString
- kSCProp
NetProxiesSOCKS ⚠User SCSchemaDefinitions - Value is a CFString
- kSCProp
NetSMB ⚠NetBIOS Name SCSchemaDefinitions - Value is a CFString
- kSCProp
NetSMB ⚠NetBIOS Node Type SCSchemaDefinitions - Value is a CFString
- kSCProp
NetSMB ⚠NetBIOS Scope SCSchemaDefinitions - Value is a CFString
- kSCProp
NetSMBWINS ⚠Addresses SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
NetSMB ⚠Workgroup SCSchemaDefinitions - Value is a CFString
- kSCProp
NetService ⚠Order SCSchemaDefinitions - Value is a CFArrayCFString
- kSCProp
System ⚠Computer Name SCSchemaDefinitions - Value is a CFString
- kSCProp
System ⚠Computer Name Encoding SCSchemaDefinitions - Value is a CFNumber
- kSCProp
User ⚠Defined Name SCSchemaDefinitions - Value is a CFString
- kSCProp
Users ⚠Console UserGID SCSchemaDefinitions - Value is a CFNumber
- kSCProp
Users ⚠Console User Name SCSchemaDefinitions - Value is a CFString
- kSCProp
Users ⚠Console UserUID SCSchemaDefinitions - Value is a CFNumber
- kSCProp
Version ⚠SCSchemaDefinitions - Value is a CFString
- kSCResv
Inactive ⚠SCSchemaDefinitions - Apple’s documentation
- kSCResv
Link ⚠SCSchemaDefinitions - Value is a CFString
- kSCVal
NetAir ⚠Port Auth Password Encryption Keychain SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetAir ⚠Port Join Mode Automatic SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetAir ⚠Port Join Mode Preferred SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetAir ⚠Port Join Mode Ranked SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetAir ⚠Port Join Mode Recent SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetAir ⚠Port Join Mode Strongest SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetIP ⚠SecAuthentication Method Certificate SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetIP ⚠SecAuthentication Method Hybrid SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetIP ⚠SecAuthentication Method Shared Secret SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetIP ⚠SecLocal Identifier Type KeyID SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetIP ⚠SecShared Secret Encryption Keychain SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetIP ⚠SecX Auth Password Encryption Keychain SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetIP ⚠SecX Auth Password Encryption Prompt SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv4Config Method Automatic SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv4Config MethodBOOTP SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv4Config MethodDHCP SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv4Config MethodINFORM SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv4Config Method Link Local SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv4Config Method Manual SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv4Config MethodPPP SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv6Config Method6to4 SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv6Config Method Automatic SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv6Config Method Link Local SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv6Config Method Manual SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetI ⚠Pv6Config Method Router Advertisement SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetInterface ⚠SubType L2TP SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetInterface ⚠SubTypePPP Serial SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetInterface ⚠SubTypePP PoE SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetInterface ⚠SubTypePPTP SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetInterface ⚠Type6to4 SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetInterface ⚠Type Ethernet SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetInterface ⚠Type Fire Wire SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetInterface ⚠TypeIP Sec SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetInterface ⚠TypePPP SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetL2TPIP ⚠SecShared Secret Encryption Keychain SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetL2TP ⚠TransportIP SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetL2TP ⚠TransportIP Sec SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetModem ⚠Dial Mode Ignore Dial Tone SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetModem ⚠Dial Mode Manual SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetModem ⚠Dial Mode Wait ForDial Tone SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetPPP ⚠Auth Password Encryption Keychain SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetPPP ⚠Auth Password Encryption Token SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetPPP ⚠Auth Prompt After SCSchemaDefinitions - Value is a CFString
- kSCVal
NetPPP ⚠Auth Prompt Before SCSchemaDefinitions - Value is a CFString
- kSCVal
NetPPP ⚠Auth ProtocolCHAP SCSchemaDefinitions - Value is a CFString
- kSCVal
NetPPP ⚠Auth ProtocolEAP SCSchemaDefinitions - Value is a CFString
- kSCVal
NetPPP ⚠Auth ProtocolMSCHA P1 SCSchemaDefinitions - Value is a CFString
- kSCVal
NetPPP ⚠Auth ProtocolMSCHA P2 SCSchemaDefinitions - Value is a CFString
- kSCVal
NetPPP ⚠Auth ProtocolPAP SCSchemaDefinitions - Value is a CFString
- kSCVal
NetSMB ⚠NetBIOS Node Type Broadcast SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetSMB ⚠NetBIOS Node Type Hybrid SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetSMB ⚠NetBIOS Node Type Mixed SCSchemaDefinitions - Apple’s documentation
- kSCVal
NetSMB ⚠NetBIOS Node Type Peer SCSchemaDefinitions - Apple’s documentation
Functions§
- CNCopy
Current ⚠Network Info Deprecated CaptiveNetwork - Returns the network information for the specified interface when the requesting application meets one of following 4 requirements -.
- CNCopy
Supported ⚠Interfaces CaptiveNetwork - copies a list of all interfaces CaptiveNetworkSupport is monitoring.
- CNMark
Portal ⚠Offline Deprecated CaptiveNetwork - Tells Captive Network Support that the device is not authenticated on the given network interface.
- CNMark
Portal ⚠Online Deprecated CaptiveNetwork - Tells Captive Network Support that your application has authenticated the device to the network. Captive Network Support will notify the rest of the system that WiFi is now a viable interface.
- CNSet
SupportedSSI ⚠Ds Deprecated CaptiveNetwork - Provides Captive Network Support with an updated list of SSIDs that this application will perform authentication on.
- DHCP
Client ⚠Preferences Copy Application Options DHCPClientPreferences - Copies the requested DHCP options for the given application ID.
- DHCP
Client ⚠Preferences SetApplication Options DHCPClientPreferences - Updates the DHCP client preferences to include the given list of options for the given application ID.
- DHCP
Info ⚠GetLease Expiration Time SCDynamicStoreCopyDHCPInfo - Returns a CFDateRef corresponding to the lease expiration time, if present.
- DHCP
Info ⚠GetLease Start Time SCDynamicStoreCopyDHCPInfo - Returns a CFDateRef corresponding to the lease start time, if present.
- DHCP
Info ⚠GetOption Data SCDynamicStoreCopyDHCPInfo - Returns a non-NULL CFDataRef containing the DHCP option data, if present.
- SCBond
Interface ⚠Copy All SCNetworkConfigurationandSCPreferences - Returns all Ethernet Bond interfaces on the system.
- SCBond
Interface ⚠Copy Available Member Interfaces SCNetworkConfigurationandSCPreferences - Returns all network capable devices on the system that can be added to an Ethernet Bond interface.
- SCBond
Interface ⚠Copy Status SCNetworkConfiguration - Returns the status of the specified Ethernet Bond interface.
- SCBond
Interface ⚠Create SCNetworkConfigurationandSCPreferences - Create a new SCBondInterface interface.
- SCBond
Interface ⚠GetMember Interfaces SCNetworkConfiguration - Returns the member interfaces for the specified Ethernet Bond interface.
- SCBond
Interface ⚠GetOptions SCNetworkConfiguration - Returns the configuration settings associated with a Ethernet Bond interface.
- SCBond
Interface ⚠Remove SCNetworkConfiguration - Removes the SCBondInterface from the configuration.
- SCBond
Interface ⚠SetLocalized Display Name SCNetworkConfiguration - Sets the localized display name for the specified Ethernet Bond interface.
- SCBond
Interface ⚠SetMember Interfaces SCNetworkConfiguration - Sets the member interfaces for the specified Ethernet Bond interface.
- SCBond
Interface ⚠SetOptions SCNetworkConfiguration - Sets the configuration settings for the specified Ethernet Bond interface.
- SCBond
Status ⚠GetInterface Status SCNetworkConfiguration - Returns the status of a specific member interface of an Ethernet Bond or the status of the bond as a whole.
- SCBond
Status ⚠GetMember Interfaces SCNetworkConfiguration - Returns the member interfaces that are represented with the Ethernet Bond interface.
- SCCopy
Last ⚠Error - Returns the most recent status or error code generated as the result of calling a System Configuration framework API.
- SCDynamic
Store ⚠AddTemporary Value SCDynamicStore - Temporarily adds the key-value pair to the dynamic store if no such key already exists. Unless the key is updated by another session, the key-value pair will be removed automatically when the session is closed.
- SCDynamic
Store ⚠AddValue SCDynamicStore - Adds the key-value pair to the dynamic store if no such key already exists.
- SCDynamic
Store ⚠Copy Computer Name SCDynamicStoreandSCDynamicStoreCopySpecific - Gets the current computer name.
- SCDynamic
Store ⚠Copy Console User SCDynamicStoreandSCDynamicStoreCopySpecificandlibc - Gets the name, user ID, and group ID of the currently logged-in user.
- SCDynamic
Store ⚠CopyDHCP Info SCDynamicStoreandSCDynamicStoreCopyDHCPInfo - Copies the DHCP information for the requested serviceID, or the primary service if serviceID == NULL.
- SCDynamic
Store ⚠Copy KeyList SCDynamicStore - Returns an array of CFString keys representing the current dynamic store entries that match a specified pattern.
- SCDynamic
Store ⚠Copy Local Host Name SCDynamicStoreandSCDynamicStoreCopySpecific - Gets the current local host name.
- SCDynamic
Store ⚠Copy Location SCDynamicStoreandSCDynamicStoreCopySpecific - Gets the current location identifier.
- SCDynamic
Store ⚠Copy Multiple SCDynamicStore - Gets the values of multiple keys in the dynamic store.
- SCDynamic
Store ⚠Copy Notified Keys SCDynamicStore - Returns an array of CFString keys representing the dynamic store entries that have changed since this function was last called. If possible, your application should use the notification functions instead of polling for the list of changed keys returned by this function.
- SCDynamic
Store ⚠Copy Proxies SCDynamicStoreandSCDynamicStoreCopySpecific - Gets the current internet proxy settings. The returned proxy settings dictionary includes:
- SCDynamic
Store ⚠Copy Value SCDynamicStore - Gets the value of the specified key from the dynamic store.
- SCDynamic
Store ⚠Create SCDynamicStore - Creates a new session used to interact with the dynamic store maintained by the System Configuration server.
- SCDynamic
Store ⚠Create RunLoop Source SCDynamicStore - Creates a CFRunLoopSource object that can be added to the application’s run loop. All dynamic store notifications are delivered using this run loop source.
- SCDynamic
Store ⚠Create With Options SCDynamicStore - Creates a new session used to interact with the dynamic store maintained by the System Configuration server.
- SCDynamic
Store ⚠KeyCreate Computer Name SCDynamicStoreKey - Creates a key that can be used in conjuntion with SCDynamicStoreSetNotificationKeys function to receive notifications when the current computer name changes.
- SCDynamic
Store ⚠KeyCreate Console User SCDynamicStoreKey - Creates a key that can be used in conjunction with SCDynamicStoreSetNotificationKeys function to receive notifications when the current console user changes.
- SCDynamic
Store ⚠KeyCreate Host Names SCDynamicStoreKey - Creates a key that can be used in conjunction with the SCDynamicStoreSetNotificationKeys function to receive notifications when the HostNames entity changes. The HostNames entity includes the local host name.
- SCDynamic
Store ⚠KeyCreate Location SCDynamicStoreKey - Creates a key that can be used in conjunction with the SCDynamicStoreSetNotificationKeys function to receive notifications when the location identifier changes.
- SCDynamic
Store ⚠KeyCreate Network Global Entity SCDynamicStoreKey - Creates a dynamic store key that can be used to access a specific global (as opposed to a per-service or per-interface) network configuration entity.
- SCDynamic
Store ⚠KeyCreate Network Interface SCDynamicStoreKey - Creates a dynamic store key that can be used to access the network interface configuration information stored in the dynamic store.
- SCDynamic
Store ⚠KeyCreate Network Interface Entity SCDynamicStoreKey - Creates a dynamic store key that can be used to access the per-interface network configuration information stored in the dynamic store.
- SCDynamic
Store ⚠KeyCreate Network Service Entity SCDynamicStoreKey - Creates a dynamic store key that can be used to access the per-service network configuration information stored in the dynamic store.
- SCDynamic
Store ⚠KeyCreate Proxies SCDynamicStoreKey - Creates a key that can be used in conjunction with the SCDynamicStoreSetNotificationKeys function to receive notifications when the current network proxy settings (such as HTTP or FTP) are changed.
- SCDynamic
Store ⚠Notify Value SCDynamicStore - Triggers a notification to be delivered for the specified key in the dynamic store.
- SCDynamic
Store ⚠Remove Value SCDynamicStore - Removes the value of the specified key from the dynamic store.
- SCDynamic
Store ⚠SetMultiple SCDynamicStore - Updates multiple values in the dynamic store.
- SCDynamic
Store ⚠SetNotification Keys SCDynamicStore - Specifies a set of specific keys and key patterns that should be monitored for changes.
- SCDynamic
Store ⚠SetValue SCDynamicStore - Adds or replaces a value in the dynamic store for the specified key.
- SCError⚠
- Returns the most recent status or error code generated as the result of calling a System Configuration framework API.
- SCError
String ⚠ - Returns a pointer to the message string associated with the specified status or error number.
- SCNetwork
Check ⚠Reachability ByAddress Deprecated SCNetworkandlibc - Determines if the given network address is reachable using the current network configuration.
- SCNetwork
Check ⚠Reachability ByName Deprecated SCNetwork - Determines if the given network host or node name is reachable using the current network configuration.
- SCNetwork
Connection ⚠Copy Extended Status SCNetworkConnection - Returns the extended status of the connection. An extended status dictionary contains specific dictionaries describing the status for each subcomponent of the service.
- SCNetwork
Connection ⚠Copy ServiceID SCNetworkConnection - Returns the service ID associated with the SCNetworkConnection.
- SCNetwork
Connection ⚠Copy Statistics SCNetworkConnection - Returns the statistics of the SCNetworkConnection. A statistic dictionary contains specific dictionaries with statistics for each subcomponent of the service.
- SCNetwork
Connection ⚠Copy User Options SCNetworkConnection - Copies the user options used to start the connection. This is a mechanism a client can use to retrieve the user options previously passed to the SCNetworkConnectionStart function.
- SCNetwork
Connection ⚠Copy User Preferences SCNetworkConnection - Provides the default service ID and a dictionary of user options for the connection. Applications can use the returned serviceID and userOptions values to open a connection on the fly.
- SCNetwork
Connection ⚠Create With ServiceID SCNetworkConnection - Creates a new connection reference to use for getting the status or for connecting or disconnecting the associated service.
- SCNetwork
Connection ⚠GetStatus SCNetworkConnection - Returns the status of the SCNetworkConnection. A status is one of the following values:
- SCNetwork
Connection ⚠Schedule With RunLoop SCNetworkConnection - Schedules a connection with the run loop.
- SCNetwork
Connection ⚠Start SCNetworkConnection - Starts the connection for the SCNetworkConnection. The connection process is asynchronous and the function will return immediately. The connection status can be obtained by polling or by callback. The connection is made with the default settings from the administrator. Some of the settings can be overridden for the duration of the connection. These are specified in an options dictionary. The options dictionary uses the same format as a network service defined in the system configuration preferences schema.
- SCNetwork
Connection ⚠Stop SCNetworkConnection - Stops the connection for the SCNetworkConnection. The disconnection process is asynchronous and the function will return immediately. The connection status can be obtained by polling or by callback. This function performs an arbitrated stop of the connection. If several applications have marked their interest in the connection, by calling SCNetworkConnectionStart, the call will succeed but the actual connection will be maintained until the last interested application calls SCNetworkConnectionStop.
- SCNetwork
Connection ⚠Unschedule From RunLoop SCNetworkConnection - Unschedules a connection from the run loop.
- SCNetwork
Interface ⚠Copy All SCNetworkConfiguration - Returns all network capable interfaces on the system.
- SCNetwork
Interface ⚠CopyMTU SCNetworkConfiguration - For the specified network interface, returns information about the currently MTU setting and the range of allowable values.
- SCNetwork
Interface ⚠Copy Media Options SCNetworkConfiguration - For the specified network interface, returns information about the currently requested media options, the active media options, and the media options which are available.
- SCNetwork
Interface ⚠Copy Media SubType Options SCNetworkConfiguration - For the provided interface configuration options and specific subtype, return a list of available media options.
- SCNetwork
Interface ⚠Copy Media SubTypes SCNetworkConfiguration - For the provided interface configuration options, return a list of available media subtypes.
- SCNetwork
Interface ⚠Create With Interface SCNetworkConfiguration - Create a new network interface layered on top of another. For example, this function would be used to create a “PPP” interface on top of a “modem”.
- SCNetwork
Interface ⚠Force Configuration Refresh SCNetworkConfiguration - Sends a notification to interested network configuration agents to immediately retry their configuration. For example, calling this function will cause the DHCP client to contact the DHCP server immediately rather than waiting until its timeout has expired. The utility of this function is to allow the caller to give a hint to the system that the network infrastructure or configuration has changed.
- SCNetwork
Interface ⚠GetBSD Name SCNetworkConfiguration - Returns the BSD interface (en0) or device name (modem) for the interface.
- SCNetwork
Interface ⚠GetConfiguration SCNetworkConfiguration - Returns the configuration settings associated with a interface.
- SCNetwork
Interface ⚠GetExtended Configuration SCNetworkConfiguration - Returns the configuration settings associated with a interface.
- SCNetwork
Interface ⚠GetHardware Address String SCNetworkConfiguration - Returns a displayable link layer address for the interface.
- SCNetwork
Interface ⚠GetInterface SCNetworkConfiguration - For layered network interfaces, return the underlying interface.
- SCNetwork
Interface ⚠GetInterface Type SCNetworkConfiguration - Returns the associated network interface type.
- SCNetwork
Interface ⚠GetLocalized Display Name SCNetworkConfiguration - Returns the localized name (e.g. “Ethernet”, “FireWire”) for the interface.
- SCNetwork
Interface ⚠GetSupported Interface Types SCNetworkConfiguration - Identify all of the network interface types (e.g. PPP) that can be layered on top of this interface.
- SCNetwork
Interface ⚠GetSupported Protocol Types SCNetworkConfiguration - Identify all of the network protocol types (e.g. IPv4, IPv6) that can be layered on top of this interface.
- SCNetwork
Interface ⚠Refresh Configuration Deprecated SCNetwork - Sends a notification to interested configuration agents to have them immediately retry their configuration over a particular network interface.
- SCNetwork
Interface ⚠SetConfiguration SCNetworkConfiguration - Stores the configuration settings for the interface.
- SCNetwork
Interface ⚠SetExtended Configuration SCNetworkConfiguration - Stores the configuration settings for the interface.
- SCNetwork
Interface ⚠SetMTU SCNetworkConfiguration - For the specified network interface, sets the requested MTU setting.
- SCNetwork
Interface ⚠SetMedia Options SCNetworkConfiguration - For the specified network interface, sets the requested media subtype and options.
- SCNetwork
Protocol ⚠GetConfiguration SCNetworkConfiguration - Returns the configuration settings associated with the protocol.
- SCNetwork
Protocol ⚠GetEnabled SCNetworkConfiguration - Returns whether this protocol has been enabled.
- SCNetwork
Protocol ⚠GetProtocol Type SCNetworkConfiguration - Returns the associated network protocol type.
- SCNetwork
Protocol ⚠SetConfiguration SCNetworkConfiguration - Stores the configuration settings for the protocol.
- SCNetwork
Protocol ⚠SetEnabled SCNetworkConfiguration - Enables or disables the protocol.
- SCNetwork
Reachability ⚠Create With Address Deprecated SCNetworkReachabilityandlibc - Creates a reference to the specified network address. This reference can be used later to monitor the reachability of the target host.
- SCNetwork
Reachability ⚠Create With Address Pair Deprecated SCNetworkReachabilityandlibc - Creates a reference to the specified network address. This reference can be used later to monitor the reachability of the target host.
- SCNetwork
Reachability ⚠Create With Name Deprecated SCNetworkReachability - Creates a reference to the specified network host or node name. This reference can be used later to monitor the reachability of the target host.
- SCNetwork
Reachability ⚠GetFlags Deprecated SCNetworkReachability - Determines if the given target is reachable using the current network configuration.
- SCNetwork
Reachability ⚠Schedule With RunLoop Deprecated SCNetworkReachability - Schedules the given target with the given run loop and mode.
- SCNetwork
Reachability ⚠SetCallback Deprecated SCNetworkReachability - Assigns a client to a target, which receives callbacks when the reachability of the target changes.
- SCNetwork
Reachability ⚠Unschedule From RunLoop Deprecated SCNetworkReachability - Unschedules the given target from the given run loop and mode.
- SCNetwork
Service ⚠AddProtocol Type SCNetworkConfiguration - Adds a network protocol of the specified type to the service. The protocol configuration is set to default values that are appropriate for the interface associated with the service.
- SCNetwork
Service ⚠Copy SCNetworkConfigurationandSCPreferences - Returns the network service with the specified identifier.
- SCNetwork
Service ⚠Copy All SCNetworkConfigurationandSCPreferences - Returns all available network services for the specified preferences.
- SCNetwork
Service ⚠Copy Protocol SCNetworkConfiguration - Returns the network protocol of the specified type for the service.
- SCNetwork
Service ⚠Copy Protocols SCNetworkConfiguration - Returns all network protocols associated with the service.
- SCNetwork
Service ⚠Create SCNetworkConfigurationandSCPreferences - Create a new network service for the specified interface in the configuration.
- SCNetwork
Service ⚠Establish Default Configuration SCNetworkConfiguration - Establishes the “default” configuration for a network service. This configuration includes the addition of network protocols for the service (with “default” configuration options).
- SCNetwork
Service ⚠GetEnabled SCNetworkConfiguration - Returns whether this service has been enabled.
- SCNetwork
Service ⚠GetInterface SCNetworkConfiguration - Returns the network interface associated with the service.
- SCNetwork
Service ⚠GetName SCNetworkConfiguration - Returns the [user specified] name associated with the service.
- SCNetwork
Service ⚠GetServiceID SCNetworkConfiguration - Returns the identifier for the service.
- SCNetwork
Service ⚠Remove SCNetworkConfiguration - Removes the network service from the configuration.
- SCNetwork
Service ⚠Remove Protocol Type SCNetworkConfiguration - Removes the network protocol of the specified type from the service.
- SCNetwork
Service ⚠SetEnabled SCNetworkConfiguration - Enables or disables the service.
- SCNetwork
Service ⚠SetName SCNetworkConfiguration - Stores the [user specified] name for the service.
- SCNetwork
SetAdd ⚠Service SCNetworkConfiguration - Adds the network service to the set.
- SCNetwork
SetContains ⚠Interface SCNetworkConfiguration - Checks if an interface is represented by at least one network service in the specified set.
- SCNetwork
SetCopy ⚠SCNetworkConfigurationandSCPreferences - Returns the set with the specified identifier.
- SCNetwork
SetCopy ⚠All SCNetworkConfigurationandSCPreferences - Returns all available sets for the specified preferences.
- SCNetwork
SetCopy ⚠Current SCNetworkConfigurationandSCPreferences - Returns the “current” set.
- SCNetwork
SetCopy ⚠Services SCNetworkConfiguration - Returns all network services associated with the set.
- SCNetwork
SetCreate ⚠SCNetworkConfigurationandSCPreferences - Create a new set in the configuration.
- SCNetwork
SetGet ⚠Name SCNetworkConfiguration - Returns the [user specified] name associated with the set.
- SCNetwork
SetGet ⚠Service Order SCNetworkConfiguration - Returns the [user specified] ordering of network services within the set.
- SCNetwork
SetGet ⚠SetID SCNetworkConfiguration - Returns the identifier for the set.
- SCNetwork
SetRemove ⚠SCNetworkConfiguration - Removes the set from the configuration.
- SCNetwork
SetRemove ⚠Service SCNetworkConfiguration - Removes the network service from the set.
- SCNetwork
SetSet ⚠Current SCNetworkConfiguration - Specifies the set that should be the “current” set.
- SCNetwork
SetSet ⚠Name SCNetworkConfiguration - Stores the [user specified] name for the set.
- SCNetwork
SetSet ⚠Service Order SCNetworkConfiguration - Stores the [user specified] ordering of network services for the set.
- SCPreferences
AddValue ⚠SCPreferences - Adds data for a preference key.
- SCPreferences
Apply ⚠Changes SCPreferences - Requests that the currently stored configuration preferences be applied to the active configuration.
- SCPreferences
Commit ⚠Changes SCPreferences - Commits changes made to the configuration preferences to persistent storage.
- SCPreferences
Copy ⚠KeyList SCPreferences - Returns an array of currently defined preference keys.
- SCPreferences
Create ⚠SCPreferences - Initiates access to the per-system set of configuration preferences.
- SCPreferences
Create ⚠With Authorization SCPreferencesandobjc2-security - Initiates access to the per-system set of configuration preferences.
- SCPreferences
GetSignature ⚠SCPreferences - Returns a sequence of bytes that can be used to determine if the saved configuration preferences have changed.
- SCPreferences
GetValue ⚠SCPreferences - Returns the data associated with a preference key.
- SCPreferences
Lock ⚠SCPreferences - Locks access to the configuration preferences.
- SCPreferences
Path ⚠Create Unique Child SCPreferencesandSCPreferencesPath - Creates a new path component within the dictionary hierarchy.
- SCPreferences
Path ⚠GetLink SCPreferencesandSCPreferencesPath - Returns the link (if one exists) associated with the specified path.
- SCPreferences
Path ⚠GetValue SCPreferencesandSCPreferencesPath - Returns the dictionary associated with the specified path.
- SCPreferences
Path ⚠Remove Value SCPreferencesandSCPreferencesPath - Removes the data associated with the specified path.
- SCPreferences
Path ⚠SetLink SCPreferencesandSCPreferencesPath - Associates a link to a second dictionary at the specified path.
- SCPreferences
Path ⚠SetValue SCPreferencesandSCPreferencesPath - Associates a dictionary with the specified path.
- SCPreferences
Remove ⚠Value SCPreferences - Removes the data associated with a preference key.
- SCPreferences
Schedule ⚠With RunLoop SCPreferences - Schedule commit and apply notifications for the specified preferences session using the specified run loop and mode.
- SCPreferences
SetCallback ⚠SCPreferences - Assigns a callback to a preferences session. The function is called when the changes to the preferences have been committed or applied.
- SCPreferences
SetComputer ⚠Name SCPreferencesandSCPreferencesSetSpecific - Updates the computer name preference.
- SCPreferences
SetLocal ⚠Host Name SCPreferencesandSCPreferencesSetSpecific - Updates the local host name.
- SCPreferences
SetValue ⚠SCPreferences - Updates the data associated with a preference key.
- SCPreferences
Synchronize ⚠SCPreferences - Synchronizes accessed preferences with committed changes.
- SCPreferences
Unlock ⚠SCPreferences - Releases exclusive access to the configuration preferences.
- SCPreferences
Unschedule ⚠From RunLoop SCPreferences - Unschedule commit and apply notifications for the specified preferences session from the specified run loop and mode.
- SCVLAN
Interface ⚠Copy All SCNetworkConfigurationandSCPreferences - Returns all VLAN interfaces on the system.
- SCVLAN
Interface ⚠Copy Available Physical Interfaces SCNetworkConfiguration - Returns the network capable devices on the system that can be associated with a VLAN interface.
- SCVLAN
Interface ⚠Create SCNetworkConfigurationandSCPreferences - Create a new SCVLANInterface interface.
- SCVLAN
Interface ⚠GetOptions SCNetworkConfiguration - Returns the configuration settings associated with the VLAN interface.
- SCVLAN
Interface ⚠GetPhysical Interface SCNetworkConfiguration - Returns the physical interface for the specified VLAN interface.
- SCVLAN
Interface ⚠GetTag SCNetworkConfiguration - Returns the tag for the specified VLAN interface.
- SCVLAN
Interface ⚠Remove SCNetworkConfiguration - Removes the SCVLANInterface from the configuration.
- SCVLAN
Interface ⚠SetLocalized Display Name SCNetworkConfiguration - Sets the localized display name for the specified VLAN interface.
- SCVLAN
Interface ⚠SetOptions SCNetworkConfiguration - Sets the configuration settings for the specified VLAN interface.
- SCVLAN
Interface ⚠SetPhysical Interface AndTag SCNetworkConfiguration - Updates the specified VLAN interface.
Type Aliases§
- SCBond
Interface SCNetworkConfiguration - This is the type of a reference to an object that represents an Ethernet Bond interface.
- SCDynamic
Store Call Back SCDynamicStore - Type of callback function used when notification of changes to the dynamic store is delivered.
- SCNetwork
Connection Call Back SCNetworkConnection - Type of the callback function used when a status event is delivered.
- SCNetwork
Connection Flags SCNetwork - Apple’s documentation
- SCNetwork
Reachability Call Back SCNetworkReachability - Type of the callback function used when the reachability of a network address or name changes.
- SCPreferences
Call Back SCPreferences - Type of the callback function used when the preferences have been updated and/or applied.
- SCVLAN
Interface SCNetworkConfiguration - This is the type of a reference to an object that represents a Virtual LAN (VLAN) interface.