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那樣的功能。