I know how to take a Screen Shots through Programing but i want to take ScreenShots of the Exceptions Screen appear runtime? Is it possible to do? please Suggest me...Thanks in Advance
Bitmap bitmap = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
Graphics graphics = Graphics.FromImage(bitmap as Image);
graphics.CopyFromScreen(0, 0, 0, 0, bitmap.Size);
bitmap.Save("c:\\screenshot.jpeg", ImageFormat.Jpeg);.