1
是否有可能在登录屏幕上截取Windows桌面的屏幕截图?登录屏幕上的Windows桌面的屏幕截图
我建立在C#中的窗口服务捕获屏幕,但注销时,我得到了 异常与消息“句柄是无效的。”
我用这个代码
Bitmap bitmap = new Bitmap(SelectionRectangle.Width, SelectionRectangle.Height);
using (Graphics g = Graphics.FromImage(bitmap))
{
g.CopyFromScreen(SourcePoint, DestinationPoint, SelectionRectangle.Size);
}
使用Windows API就可以解决问题呢?
我想实现像Ultra VNC那样的功能。