How to check if SCNetwork interface configuration is hidden?

I have an

SCNetworkInterfaceRef
through which i want to get all details of the interface i was able to bsd name,type mac address but unable to get
hiddenConfiguration
(hiddenConfiguration is bool value )


prefrencePlist path

/Library/Preferences/SystemConfiguration/preferences.plist



  SCNetworkInterfaceRef interface =  SCNetworkServiceGetInterface(service);
  NSString *type          = (__bridge NSString*) SCNetworkInterfaceGetInterfaceType(interface);
  NSString *bsd           = (__bridge NSString*) SCNetworkInterfaceGetBSDName(interface);
  NSString *mac           = (__bridge NSString*) SCNetworkInterfaceGetHardwareAddressString(interface);

How to get hidden configuration value?

Replies

How did you get this

SCNetworkInterface
? The most obvious way to get interfaces is via
SCNetworkInterfaceCopyAll
, and that doesn’t return hidden interfaces.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"