SystemIdleTimerReset

[DllImport("coredll.dll")]
public static extern bool SystemIdleTimerReset(
   
);

Microsoft documentation: Link

Last updated