BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
BVMS Server- and Client-SDK
Bosch.Vms.SDK
ISystemTimeManager Interface
ISystemTimeManager Methods
GetSystemTimeInfo Method

# ISystemTimeManagerGetSystemTimeInfo Method |

Get the list of time zone information.
Namespace: Bosch.Vms.SDK
Assembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntax
C#
Copy

    IEnumerable<SystemTimeInfo> GetSystemTimeInfo()

#### Return Value

IEnumerable SystemTimeInfo
Time zone information.
Example
C#
Copy

    try
    {
        IEnumerable<SystemTimeInfo> info = api.SystemTimeManager.GetSystemTimeInfo();
        foreach (SystemTimeInfo systemTimeInfo in info)
        {
            switch (systemTimeInfo.SystemInfoKind)
            {
                case SystemInfoKind.Client:
                    MessageBox.Show(string.Format("Operator Client time zone is: {0}", systemTimeInfo.TimeZoneInfo));
                    break;
                case SystemInfoKind.Server:
                    MessageBox.Show(string.Format("Management Server time zone is: {0}", systemTimeInfo.TimeZoneInfo));
                    break;
                default:
                    MessageBox.Show("Time zone is not available.");
                    break;
            }
        }
    }
    catch (SdkException)
    {
        // do something
    }

See Also

#### Reference

ISystemTimeManager Interface
Bosch.Vms.SDK Namespace

Copyright © Bosch Sicherheitssysteme GmbH