In this article – part two of creating a screen saver in C#, we are going to pick up from where we left off in part one, which I suggest you read before continuing with this article if you haven’t already done so. So far (in part one) we have created a Settings class and [...]
In this short article I am going to show you how to achieve hibernation or standby of Windows programmatically. The .NET 2.0 framework introduced the Application.SetSuspendState() method, which allows you to either hibernate or else standby your pc. This method accepts three parameters – the first parameter “state” is a PowerState enumeration value of either [...]