C# event to detect Daylight Saving or even manual time change

后端 未结 3 1994
广开言路
广开言路 2020-12-07 03:45

I run an application as a service on a server and then I have multiple clients connect to that service. I display the exact server time on each of the client Window form ap

3条回答
  •  不知归路
    2020-12-07 04:37

    Perhaps less than ideal, you could have an agent running in the foreground that listens for the TimeChanged event and forwards this to your service.

提交回复
热议问题