Description: Set your computer to sleep mode, and the Windows system comes with sleep function end result is the same, whether it is how to achieve, please refer to the source code for it
To Search:
File list (Check if you may need any files):
pcsleep\将计算机设置为休眠状态\Form1.cs
.......\......................\Form1.designer.cs
.......\......................\Form1.resx
.......\......................\Program.cs
.......\......................\...perties\AssemblyInfo.cs
.......\......................\..........\Resources.Designer.cs
.......\......................\..........\Resources.resx
.......\......................\..........\Settings.Designer.cs
.......\......................\..........\Settings.settings
.......\......................\将计算机设置为休眠状态.csproj
.......\将计算机设置为休眠状态.sln
.......\将计算机设置为休眠状态.suo
.......\......................\Properties
.......\将计算机设置为休眠状态
pcsleep