Search evidence lock for all cameras

Hi,

I need to search all evidence locked videos via our own client application. I see in the SDK ( 2017 R2 ) Evidence Lock example ( Program.cs Line 167 ) that there is a comment next to the parameter for the camera GUIDs stating to ‘use null to search on all devices’. Setting the parameter to null gives a runtime error that ‘the source cannot be null’.

Is it possible to search on all devices as above, is it a typo in the source code comment? maybe there is a specific GUID that will translate to ‘all devices’?

I’d like to replicate a similar, but more controlled, search feature that’s present in the Smart Client → Playback → Evidence Lock → search fields.

null will give an exception, but new Guid[] { }, seems to work.

Thats excellent! Yes, it works as you say. It should be a valid empty array.

Thankyou!