简体   繁体   中英

Getting a PrintScreen of Client PC over Web Application

I want to get "PrintScreen" of Client PC when he access a particular Web Page.

I tried GOOGLEing this IDEA! but was unable to get much,

Infact what i got know on stackoverflow itself is Javascript PrintScreen

JavaScript cannot be used for such functionality.

So, I would like to know can it be done in Ajax,ASP.NET with C#/VB or in PHP because at the end i want to save this image/s continously to database either SQL Server or MySQL or Oracle.

Is this feasible by ActiveX Objects?

To my knowledge, it will be difficult to go ahead with javascript.Yet i plan to use more of client resourses than server resources while executing this functionality.

Browsers do not have access to client computer resources. What you describe there can't be achieved without a third party dll (if you mentioned .Net) installed on your computer and that can be done only on demand by the client. But the whole idea is, as stated before a privacy invasion and any attempt to install anything on the client computer will be regarded as a security threat from any AV software.

根本不可能,为什么您需要这样做?

I don't know "JavaScript cannot be used for such functionality" before. But since you have figure it out, I can tell you that ASP.NET can't help you on this if JS can't. Because all ASP.NET at client side is javascript. Ajax things are actually working through javascript. ASP.NET just generates those javascripts for you to make your code working like a WebForm.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM