How to create custom properties for each camera in Management client?

I’m developing plugin which shows all cameras in Management client. I would like to programmatically create custom properties for each camera and save them. How can I do that?

This sample might be helpful, might be exactly what you need –

https://doc.developer.milestonesys.com/html/index.html?base=samples/admintabplugin.html&tree=tree_1.html