title: How to change screen saver timeout and screensaverissecure in windows using c#
body: <p>How to change screen saver timeout and screensaverissecure using user32.dll for the current user (or) any other users in windows through C# code, as my application is running with SYSTEM privileges in the background process. </p>
  
  <p>When we change the value of this registry using c# or scripting HKEY_CURRENT_USER\Control Panel\Desktop\ScreensaverTimeout
  and HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaverIsSecure
  this effect is showing only after reboot of machine.</p>
  
  <p>when we change the registry value using c# code with SYSTEM privileges those changes are not effecting with new values.</p>