Can the Window Window application continue to run even though the computer goes into sleep mode?
I am developing a windows application using c # .net. This will accept the login information, confirm the registration, and continue without user intervention until the computer is turned on.
This computer will do nothing and will go into sleep mode after a few minutes in accordance with the security policy.
Is there a way I can configure my app to avoid hibernation when the computer goes into standby and does the app support? I know we can do this by installing this application as a service. However, the service cannot print my data without invoking the print dialog and therefore I cannot configure the application as a service.
If in idle mode you mean a screen saver or a locked screen, then any standard application will still work. If in standby mode you mean automatic logoff, then the solution would be to create a Windows service. This can be configured to run on a system with no active users. If in standby you mean sleep or hibernation, then I'm afraid you are out of luck as the machine won't start anything at all.
source to share