• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 409
  • Last Modified:

Can I show an image using Silverlight and prevent it from being copied?

I hope to write a Silverlight and/or a Silverlight out of browser application involving certain images which can be viewed by certain users.

How can I disable the clipboard when a picture has the focus? Or remove the "Copy" menu item from the context menu on a right click on that image?

(I assume I will be running in the browser)

I don't want the user to copy the picture and thereby make the picture public.

Thanks,
newbieweb
0
newbieweb
Asked:
newbieweb
  • 3
1 Solution
 
newbiewebAuthor Commented:
also, I guess I would also need to block Windows from enabling the PrtScrn feature as well.  Otherwise they willl take a picture of the entire window and carve out the picturte they want to see...

newbieweb
0
 
ToxaconCommented:
Check the clipboard content periodically when the window is active. If it suddenly contains an image, just discard the clipboard content.
0
 
newbiewebAuthor Commented:
> Check the clipboard content periodically when the window is active

Wouldn't I need to check it, say, 500 Milliseconds after every keystroke? Then I ensure that I delete the clipboard before they have time to copy it to MS Paint?

But i'sn't there a more direct way to block the feature?  I'd need to block "Save picture as..." as well.

I need to be able to force the use of my context menu when it's a JPG background, then remove certain options from that new menu I impose.

Do you konw how to do this?

newbieweb
0
 
newbiewebAuthor Commented:
Thanks
0
 
Kalpesh ChhatralaSoftware ConsultantCommented:
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now