如何使用C#获取远程计算机中窗口的屏幕截图? [英] How to take a screenshot of a window in a remote computer using C#?

查看:431
本文介绍了如何使用C#获取远程计算机中窗口的屏幕截图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用C#获取远程计算机中窗口的屏幕截图?

解决方案

您可以在此处找到所有内容:http://windowsitpro.com/windows-server/top-10-remote-desktop-keyboard-shortcuts [ ^ ]。



请参阅问题的评论。



-SA

您可以访问此 [ ^ ]链接,这两篇文章可以帮助你在屏幕上捕获stuf:

- 这个: TeboScreen:基本C#屏幕捕获应用程序 [ ^ ]。分支在这里: ScreenCap:C#屏幕捕获应用程序(由GuyThiebaut从TeboScreen分支) [ ^ ]

- 如果你喜欢这样的话,那么你将会遇到这样的困难:使用C#中的DirectX快速捕获屏幕 [ ^ ]

- 或者事件在这里尝试此代码: http://bentleydavis.com/2011/10/simple-screen-shot-of-all-multiple.html [< a href =http://bentleydavis.com/2011/10/simple-screen-shot-of-all-multiple.htmltarget =_ blanktit le =新窗口> ^ ]



远程执行...你有太多的选择,你可以简单地建立一个RemoteDesktop(或者您在旧CD盒中可能找到的任何类似的连接并在本地捕获屏幕,或者您可以继续创建自己的服务器守护程序来监听远程连接(套接字? .Net Remoting?)并提供捕获的图像。


How to take a screenshot of a window in a remote computer using C#?

解决方案

You can find it all here: http://windowsitpro.com/windows-server/top-10-remote-desktop-keyboard-shortcuts[^].

Please see the comments to the question.

—SA


You could visit this this[^] link so this two articles could help you on the screen capture stuf:
- this: TeboScreen: Basic C# Screen Capture Application[^]. Branched here: ScreenCap: C# Screen Capture Application (branched from TeboScreen by GuyThiebaut)[^]
- if you like things the tough way you will have this: Very fast screen capture using DirectX in C#[^]
- or event try this code here: http://bentleydavis.com/2011/10/simple-screen-shot-of-all-multiple.html[^]

For doing it remotely... you have too many options, you could simply establish one RemoteDesktop (or whatever similar you may find in your old CDs box) connection and capturing the screen locally, or you may go ahead and create your own server Daemon that listens to remote connections (Sockets? .Net Remoting?) and serves the captured images.


这篇关于如何使用C#获取远程计算机中窗口的屏幕截图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆