how to disable “PRINT SCREEN” button while running my Application in WPF?

前端 未结 8 1962
滥情空心
滥情空心 2020-12-19 03:36

How can I disable Print Screen functionality while my WPF application is running?

The use-case is that my client wants to avoid unnecessary replication of valuable p

8条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-19 04:21

    It's not possible to disable printing, and even if it were possible, it would be easily circumvented by a cell phone camera. Many are in the megapixel resolution range, making it quite easy for someone to get the information they want.

    If you want to disable the Print Screen Key on your keyboard, Jodrell's answer gives a way of doing that (understanding that it's not going to keep people from printing, and a determined user will find a way around that).

    Really, it all comes down to trust. If an employer can't trust their employees not to remove data that is already protected by law in most jurisdictions (HIPAA in the USA), then there's a bigger issue at stake.

提交回复
热议问题