using (Bitmap target = new Bitmap(1000,1000)) { using (Graphics g = Graphics.FromImage(target)) { g.CopyFromScreen(0, 0, 0, 0, new Size(1000, 1000)); } target.Save("D:\\Screen.JPEG", ImageFormat.Bmp); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)