[Gtk-sharp-list] Disabling getting screenshots of a window

Piotr Budny piotr.budny at gmail.com
Sun Jun 13 11:11:42 EDT 2010


Dnia niedziela 13 czerwca 2010, Christopher David Howie napisał:
> On 06/13/2010 08:06 AM, hack006 wrote:
> > Hi there, now I am starting to do my final school work. I want to
> > program app for testing students knowledge. This app should have
> > protection against taking screenshots (PrintScreen and programs like
> > SnapIt). Are there any posibilities to do it? Thank you very much for
> > any suggestion
> 
> Unless you can manage to get complete control of the windowing system,
> whether that be X or the Windows GUI subsystem, this is an impossible
> task.  Screenshot programs typically just attempt to grab the contents
> of the display framebuffer, which is outside the control of your program.
> 
> The only conceivable way to accomplish this would be to monitor the
> running processes for applications that can take screenshots and blank
> out your window if any are running.  And this is, of course, a terrible
> hack, and would be incredibly easy to get around.

Yeah, for example, a digital camera.

Regards,
vip;


More information about the Gtk-sharp-list mailing list