Archive date range and archiving event

Is there a way through the SDK to get the start and end datetime of an archive?

For example: I want to know for the camera with guid xxx the start datetime of the first folder with video and the end date of the last folder.

Also is there a way to tell when milestone is finished archiving to an archive?

Thanks in advance

If you want to do it online (connected to the running XProtect VMS running) then unfortunately no, there is no way.

If offline, using files copied out of the XProtect VMS, you can load the files offline. The Media Playback Viewer sample might be the best sample for you as it can load offline and it shows a “timeline” which might be a valuable hint for how to find the first and last image time.

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