Windows: How to simulate connected screen via VGA
问题 I am trying to make a screen capturing service. I have a physical PC and I would like to run a program that displays a document (ex. MSWord) and then take a screenshot. Problem is that if I use using (var bitmap = new Bitmap(p.EndX - p.StartX, p.EndY - p.StartY)) { using (Graphics g = Graphics.FromImage(bitmap)) { g.CopyFromScreen(p.StartX, p.StartY, 0, 0, p.EndX,p.EndY,new Size(p.EndX - p.StartX, p.EndY - p.StartY)); } bitmap.Save("result.png", ImageFormat.Png); } it works only if I have a