Is it possible to pull a camera password from the server command service through protocol integration.

No, the ServerCommandService focus only on information that the clients (Smart Client or other) needs, this will not include camera information.

Another newer service can be used. The Configuration API (ConfigurationApiService) includes camera setup properties so you could use this service instead. As a bonus you can not only read but also change the password if required.

https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_configurationapi.html&tree=tree_4.html

Thanks for your quick reply. As you suggested. I am able to pull the Hardware info and method info. Now am trying to call “ReadPasswordHardware” method to get password using the “InvokeMethod” api call.

Please correct my understanding.

Sounds correct.

Hi,

While invoking the method “ReadPasswordHardware”, I’m getting the following error,

“Ett fel inträffade när objekt av typen VideoOS.ConfigurationAPI.ConfigurationItem. avserialiserades. Prefix i har inte definierats. Rad 8, position 37.”

I don’t understand what it means. Could you please help me sort it out.

Thanks

Please test if you can read the password if you use the Config API Client sample unmodified.

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/configapiclient/readme.html&tree=tree_2.html

If the sample works, try to compare what it does to your code.