protected void btnCaptures_Click(object sender, EventArgs e) { Bitmap bitmap = new Bitmap (System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width, System.Windows.Forms.Screen.PrimaryScreen.Bounds.Height); Graphics graphics = Graphics.FromImage(bitmap as System.Drawing.Image); graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size); bitmap.Save(Server.MapPath(@"Screen\ScreenShot2.Bmp"), ImageFormat.Bmp); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)