"Handle is Invalid"
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); Graphics graphics = Graphics.FromImage(bitmap as System.Drawing.Image); graphics.CopyFromScreen(25, 25, 25, 25, bitmap.Size); bitmap.Save( System.Web.Hosting.HostingEnvironment.ApplicationPhysicalPath + "Uploads\\myscreenshot.bmp", ImageFormat.Bmp);
bitmap.Save( System.Web.Hosting.HostingEnvironment.ApplicationPhysicalPath + "\Uploads\\myscreenshot.bmp", ImageFormat.Bmp);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)