title: Is CopyFromScreen a right way to get screenshots?
body: <p>I am creating an app that takes a screenshot of the desktop at a certain interval of time.</p>
  
  <p><strong>Code</strong>:</p>
  
  <pre><code>String nme = "";
  Bitmap printscreen = new Bitmap(Screen.PrimaryScreen.Bounds.Width, 
                                  Screen.PrimaryScreen.Bounds.Height);
  Graphics graphics = Graphics.FromImage(printscreen as Image);
  graphics.CopyFromScreen(0, 0, 0, 0, printscreen.Size);
  nme = DateTime.Now.ToString();
  printscreen.Save(@"F:\Temp\printScre.jpg", ImageFormat.Jpeg);
  </code></pre>
  
  <ol>
  <li>Is CopyFromScreen a right way to get the screenshot of the desktop?</li>
  <li>If I want to send this screenshot to the remote server, then what should be the best way to do that?</li>
  <li>Should I do some compression before sending it, and if so what are the most efficient ways? </li>
  </ol>