Using GetDC and BitBlt in asp.net

  • Thread starter Thread starter Guest
  • Start date Start date
I would tell you that I need to do this to be able to capture the Client
Desktop when an error is occured ,i did what came with link and do
private void Button1_Click(object sender, System.EventArgs e)
{

System.Drawing.Bitmap oBitmap = CaptureScreen.CaptureScreen.GetDesktopImage();
oBitmap.Save("C:\\test.jpg",System.Drawing.Imaging.ImageFormat.Jpeg);
}
the image is black,why?
other question is this possbile to get the client Desktop screeen using the
provide method
 
GetDC will take a screenshot of the server...since ASP.Net is running on the
Server. I can't think of any methods to get a client-side screenshot short
of using some java applet or active x...

Karl
 
Back
Top