在Java应用程序中禁用正在运行的屏幕捕获软件 [英] Disable running screen capture software in Java app

查看:71
本文介绍了在Java应用程序中禁用正在运行的屏幕捕获软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里找到了类似的问题,但是没有这种方法和问题.我有一个做一些数学的程序.目前,结果已写入.doc文件.但是,该文件可以通过网络共享.我想通过在标签中写入结果来禁用它.但是,再次可以捕获屏幕.因此,我发现了很多防止这种情况的想法,但是对我而言,最有趣的是检测并禁用系统上运行的所有屏幕捕获软件,并定期(如果可能)删除剪贴板.结果和我的程序(如果丢失或程序关闭)发生什么无关紧要,唯一重要的是防止屏幕截图.

I found similar questions here, but not with this approach and problem. I have a program which does some mathematics. At the moment, results are written in .doc file. But, this file can be shared through network. I want to disable it by writing results in label. But, again, screen can be captured. So, I found many ideas for preventing this, but the most interesting to me is that to detect and disable all screen capture software running on the system, and periodically (if it is possible) delete clipboard. It doesn't matter what happens with results and my program (if it is lost or program closed), the only important thing is that to prevent screenshot.

我知道这不可能完全做到,但是,我想让它尽可能地困难.

I know this is impossible to do completely, but, I wanna make it as difficult as I can.

P.S.不要讨论手机的摄像头,不要在纸上写结果,因此,我需要防止创建程序的图像(至少当结果显示在屏幕上时).

P.S. Don't discuss about phone's camera, writing results on a paper and so, I need to prevent creating image of my program (at least when results are on the screen).

带有检测软件的东西,有什么方法可以检测某些正在运行的程序是否可以截屏,如果可以,请关闭我的应用程序?但是它需要一直听着这些软件的启动(如果它没有在我的程序启动时运行).

This thing with detecting software, is there any way just to detect if some running program can take screenshot and if is, close my app? But it need to listen all time for starting these software (if it is not running on the my program's start).

这个程序是为学生准备的,他们没有钱购买商业软件(当然,不包括试用版),因为他们没有足够的知识来做某些特殊的事情(他们不使用计算机作为从事软件的人这个网站).因此,这种保护并不需要是绝对的,对于程序员来说,也不一定是绝对的,只是对学生而言(但他们并不完全天真:)).

Thing is that this program is for students, and they don't have money for commercial software (excluding trial, of course), as they do not have enough knowledge for something special (they don't use computers as people on this site). So, this protection doesn't need to be absolute and for programmers, just for student (but they are not naive totally :) ).

提前谢谢.

推荐答案

由于任何程序最终都会在屏幕上显示其内容,因此可以对其进行捕获.即使您找到了检测正在运行的屏幕捕获软件的神奇方法.

Since any program ends up showing its content on a screen then it can be captured. Even if you found that magic way of detect running screen capture software.

我的意思是?信息通过VGA,HDMI或DVI电缆从CPU连接到显示器.如果用户不是将电缆连接到显示器,而是将其连接到外部视频捕获硬件,该怎么办?您可能不知道,所以我的建议是不要浪费您的时间.键盘上的Prt Scr键呢?

What I mean? Info runs through a VGA, HDMI or DVI cable from the CPU to the monitor. What if the user instead of plugging that cable to the monitor it does to an external video capturing hardware? You can't know it, so my suggestion is don't waste your time. What about the Prt Scr key on the keyboard ?

我相信甚至好莱坞都无法做到你想做的事.

I believe not even Hollywood can do what you want to do.

这篇关于在Java应用程序中禁用正在运行的屏幕捕获软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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