IContentManagerGetCurrentTimeStamp Method |  |
Gets the time stamp of the displayed content.
Only the image panes that have a video content are supported.
Namespace: Bosch.Vms.SDKAssembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
SyntaxDateTime GetCurrentTimeStamp(
ImagePane pane
)
Parameters
- pane ImagePane
- Image pane.
Return Value
DateTimeThe returned time stamp is in local time.
If the time stamp information is not available, then
MinValue will be returned.
Exceptions| Exception | Condition |
|---|
| SdkException | In case of an internal error the sdk exception will be thrown. |
Exampletry
{
ImagePane pane = new ImagePane(1, 1);
DateTime timestamp = contentManager.GetCurrentTimeStamp(pane);
if (timestamp != DateTime.MinValue)
{
}
}
catch (SdkException)
{
}
See Also