Is there an ObjC or Swift method to query installed System Extensions similar to `systemextensionctl list`?

I have an app which is installing a system extension. On startup I want to know if it's already been installed or not (because if it hasn't I want to show some information to the user).

I have not been able to find an ObjC or Swift method that allows me to ask if a given extension has been installed.

I know I can run systemextensionctl list and parse the output but I don't want to have to fork a shell command if I don't have to.

There is no API to get the list of system extensions installed. However, you can tell whether your system extension is installed by calling the -request:foundProperties: method.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Is there an ObjC or Swift method to query installed System Extensions similar to `systemextensionctl list`?
 
 
Q