How to remove hardware using SDK?

Hello,

I’m looking for ways to remove hardware using MIPSDK. I found the RecordingServer class in ConfigAddCameras Sample, but it seems to do not have any remove methods. Please help!

You can using Config API, section Recording Servers, sub-section Hardware.

Look at Config API Client sample

Freddy

Thanks to both Freddy and Josh! It works!

Freddy is correct - take a look at the HardwareFolder class ​which you’ll find as a child property on every recording server instance. It has a DeleteHardware method which takes the config API path of the hardware object which looks like “Hardware[guid]”

Thanks to both Freddy and Josh! It works!