SystemEvents TimeChanged in Windows Service

  • Thread starter Thread starter post messages
  • Start date Start date
P

post messages

I've been doing some googling without success.

Does anyone have any ideas of detecting if the time was changed from a
Windows Service that cannot interact with the desktop? This elminates
using the SystemEvent.TimeChanged event.

I need react when daylight saving time kicks in or someone changes the
date/time or windows calls its time server.

Is there a way of telling why the time was changed? Distinguis between
daylight savings vs user vs time server?

Thanks,
Post.
 
There is an option on the Properties of a Windows Service to allow it to
interact with the desktop. Once this is set it will work for you.
 
Back
Top