how to take print screen image on serverside

how to take printscreen image on server side in asp.net
like
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 serverside.so,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 meeting, networking, learning, and sharing knowledge.