Faind camera item starting from Hardware Item

Hi,

I’m developing a server side plug-in.

I need to find the guid of a camera item starting form the guid of related hardware.

Also the countrary can be good: find an Hardware item guid starting from camera Item Giud.

I already take a look to configDump sample but at moment I can’t find an easy way.

Many Thanks

You should use the classes in the VideoOS.Platform.ConfigurationItems namespace for this.

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_configuration_items_1_1_camera.html&tree=tree_search.html?search=configurationitems will have the Hardware as parent.

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_configuration_items_1_1_hardware.html&tree=tree_search.html?search=configurationitems will have its cameras in the CamerasFolder.Cameras property.