Forum Discussion
1 Reply
Sort By
- Take a look at the System::SoftwareManagement interface. The get_boot_location() method will return the active boot location. There isn't a convenient call to list all boot locations, but you can use the get_boot_image_information() method that returns a text/blob with the output of the install audit script and that contains all active boot locations (or "Slots" as referred to in that data. Just grep for the string "visible_name" and you'll get all of the available locations.