how to take print screen image on serverside

Recommended Answers

Image of what?

Jump to Post

All 2 Replies

how to take printscreen image on server side in
Bitmap printscreen = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);

            Graphics graphics = Graphics.FromImage(printscreen as System.Drawing.Image);

        graphics.CopyFromScreen(0, 0, 0, 0, printscreen.Size);
        but this code no work on,please give me a solution.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.