SCNetworkReachabilityMBS shared properties

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNetworkReachabilityMBS class.

SCNetworkReachabilityMBS.Error as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared property SystemConfiguration MBS MacCF Plugin 4.2 ✅ Yes ❌ No ❌ No ✅ Yes All
Returns the last error code.

A utility function which works with all SystemConfiguration methods.

kSCStatusOK= 0Success
kSCStatusFailed= 1001Non-specific failure
kSCStatusInvalidArgument= 1002Invalid argument
kSCStatusAccessError= 1003Permission denied - must be root to obtain lock - could not create access/create preferences
kSCStatusNoKey= 1004No such key
kSCStatusKeyExists= 1005Key already defined
kSCStatusLocked= 1006Lock already held
kSCStatusNeedLock= 1007Lock required for this operation
kSCStatusNoStoreSession= 2001Configuration daemon session not active
kSCStatusNoStoreServer= 2002Configuration daemon not (no longer) available
kSCStatusNotifierActive= 2003Notifier is currently active
kSCStatusNoPrefsSession= 3001Preference session not active
kSCStatusPrefsBusy= 3002Preferences update currently in progress
kSCStatusNoConfigFile= 3003Configuration file not found
kSCStatusNoLink= 3004No such link
kSCStatusStale= 3005Write attempted on stale version of object
kSCStatusMaxLink= 3006Maximum link count exceeded
kSCStatusReachabilityUnknown= 4001Network reachability cannot be determined
(Read only property)

The items on this page are in the following plugins: MBS MacCF Plugin.


💬 Ask a question or report a problem