Hi,
I am creating a window service in which OnStart () time i am changing the system time on system restart. this service work fine on system restart
My Problems
1. but not working when i am proper shutdown the system and then start.
2. I want this service run on operating system boot time not after user login time.
3. i want to save system time on Sql Database table when my system is shutdown, logoff, restart or unexpected stop. I am also using OnStop() and OnShutdown() methods but these methods are not work properly.
Please help me for solving above problems.