IContentManagerGetCurrentTimeStampUtc 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 GetCurrentTimeStampUtc(
ImagePane pane
)
Parameters
- pane ImagePane
- Image pane.
Return Value
DateTimeThe returned time stamp is in UTC.
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. |
RemarksUse this method in environment with multiple time zones.
Exampletry
{
ImagePane pane = new ImagePane(1, 1);
DateTime timestamp = contentManager.GetCurrentTimeStampUtc(pane);
if (timestamp != DateTime.MinValue)
{
}
}
catch (SdkException)
{
}
See Also