Windows - put HDD stand-by and sleep mode

Posted by iulianchira on Stack Overflow See other posts from Stack Overflow or by iulianchira
Published on 2010-03-16T09:05:32Z Indexed on 2010/03/16 9:16 UTC
Read the original article Hit count: 378

Filed under:
|
|
|

How can I put a hard disk drive in stand-by or sleep mode in Windows, in a programmatic manner.

Does the Windows API or any .Net libraries provide any functions to achieve this? (I am aware that I should probably not interfere with Windows's power management mechanism, but this is not something I intend to use in a production environment, it is a proof of concept for some algorithms).

© Stack Overflow or respective owner

Related posts about hdd

Related posts about power-management