Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Chris Herrington  
#1 Posted : Thursday, August 14, 2008 4:47:52 AM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 106

I need to protect the images from being copied. Is there an easy way I can do this?
Dmitry  
#2 Posted : Thursday, August 14, 2008 5:08:09 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
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?

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Chris Herrington  
#3 Posted : Monday, August 18, 2008 11:21:27 PM(UTC)
Chris Herrington

Rank: Advanced Member

Groups: Member
Joined: 9/6/2005(UTC)
Posts: 106

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.
Dmitry  
#4 Posted : Tuesday, August 19, 2008 4:39:46 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
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.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.