从ASP.Net页面获取屏幕截图

问题描述:

我有一个ASP.Net页面有一个按钮,当点击我想拍摄用户的PC屏幕截图并发送到服务器。

I have an ASP.Net page that has a button that when clicked I would like to take a screenshot of the user's PC and send it to a server.

我可以写一些监听程序来运行在服务器上接受这些图像的请求。在哪里我有点朦胧是最好的方式让用户的电脑发送截图。这需要通过为ASP.Net页面编写某种Active X控件来完成吗?如果可能的话,它需要是跨浏览器和操作系统。

I'm ok with writing some sort of listener program to run on the server to accept requests to receive these images. Where I'm a bit hazy is the best way to get the user's PC to send the screenshot. Would this need to be done by writing some sort of Active X control for the ASP.Net page? It needs to be cross browser and operating system if possible.

只是一个正确的方向,我应该使用什么技术将是巨大的。我宁愿自己写这个功能,如果可能的话,使用一个开箱即用的解决方案,我可以看到,这个功能可能会在未来扩展。像WebEx或copilot这样的东西如何管理这个?

Just a point in the right direction and what technologies I should use would be great. I would rather write this functionality myself if possible than use an out of the box solution as I can see that this functionality may be extended in the future. How does something like WebEx or copilot manage this?

感谢

Gavin

清楚地说明,我不是试图从用户PC窃取信息,他们将不得不允许这个功能,它从支持的角度来看更多,所以当客户有问题,他们可以发送他们的页面的屏幕截图

Edit : Just to make it clear I'm not trying to steal information from a users PC, They would have to allow this functionality, Its more from a support point of view so when a clients having issues they can send a screenshot of the page they are on.

如果需要跨浏览器和所有,你应该看看Java(applet)。它可能听起来很旧的时尚,但我认为这是你最好的选择。 ActiveX仅在Windows / IE上工作;)

If it needs to be cross-browser and all, you should take a look at Java(applets). It may sound old fashion but I think it's your best option. ActiveX works on windows/IE only ;)

对于初学者,请看看这个问题,这是非常相似的:是否有办法使用Java屏幕截图并将其保存为某种图片?

For starters, take a look at this question, which is quite similar: Is there a way to take a screenshot using Java and save it to some sort of image?