This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Protection

I need to protect the images from being copied. Is there an easy way I can do this?
Hello Christopher,

The easiest way is to put watermark on your images. But this way can be inappropriate in some cases, it depends on your requirements.

Could you explain your task in details?
I need to prevent the user from using the print screen to cature the image and print it. Even with watermarks this is an issue. These images can be viewed but not saved or printed. The ideal way would be some kind of lost focus event on the control and when the control loses focus I could blank out the image. But I still need to deal the print screen key.
Hello Christopher,

If you press Ctrl+PrintScreen the application does not lose the focus. You can try to handle keyboard events to catch Ctrl+PrintScreen but I am sure this key is not passed to .NET events. Most probably you can handle it in pure WinApi but it is another story.