I am developing a Windows application using C#.net. This will accept the login details, validate the login and then keep running unattended till the time the computer is on.
This computer won't do anything else and go to standby mode after a few minutes as per the security policy.
Is there a way to configure my application to avoid going to sleep when the computer goes to standby mode and keep the app running? I know we can do this by installing this application as a service. However a service cannot print my data without throwing up a print dialog and therefore, I cannot configure the app as a service.