Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. image protect

image protect

Scheduled Pinned Locked Moved C#
csharphelp
10 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hameduser
    wrote on last edited by
    #1

    hi i want write one program in c# i have very images in this program and i want user can not copy my pictures load in my project , with print screen button or other softwares like snagit please help !!!! thanks

    D 1 Reply Last reply
    0
    • H hameduser

      hi i want write one program in c# i have very images in this program and i want user can not copy my pictures load in my project , with print screen button or other softwares like snagit please help !!!! thanks

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Can't be done. Every file can be copied and anything you put on the screen can be captured by any decent screen capture prog.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008
      But no longer in 2009...

      A 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Can't be done. Every file can be copied and anything you put on the screen can be captured by any decent screen capture prog.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008
        But no longer in 2009...

        A Offline
        A Offline
        AspDotNetDev
        wrote on last edited by
        #3

        Dave Kreskowiak wrote:

        anything you put on the screen can be captured

        For some reason, I have trouble capturing frames from video that plays on my computer. I wonder if that could be utilized to prevent a screen capture of an image. I think it has something to do with hardware acceleration, though it may be a quirk of my video card.

        Dave Kreskowiak wrote:

        Every file can be copied

        Embedding them and encrypting them could make it at least difficult to copy files.

        [Forum Guidelines]

        L D A 3 Replies Last reply
        0
        • A AspDotNetDev

          Dave Kreskowiak wrote:

          anything you put on the screen can be captured

          For some reason, I have trouble capturing frames from video that plays on my computer. I wonder if that could be utilized to prevent a screen capture of an image. I think it has something to do with hardware acceleration, though it may be a quirk of my video card.

          Dave Kreskowiak wrote:

          Every file can be copied

          Embedding them and encrypting them could make it at least difficult to copy files.

          [Forum Guidelines]

          L Offline
          L Offline
          loyal ginger
          wrote on last edited by
          #4

          In your video case it might be because the video player is using DirectX. There are programs out there that can grab DirectX output images. You just need to do a search on that. You may want to take a look at this article: Various methods for capturing the screen[^]

          A 1 Reply Last reply
          0
          • A AspDotNetDev

            Dave Kreskowiak wrote:

            anything you put on the screen can be captured

            For some reason, I have trouble capturing frames from video that plays on my computer. I wonder if that could be utilized to prevent a screen capture of an image. I think it has something to do with hardware acceleration, though it may be a quirk of my video card.

            Dave Kreskowiak wrote:

            Every file can be copied

            Embedding them and encrypting them could make it at least difficult to copy files.

            [Forum Guidelines]

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            PrtScrn hes problem capturing DirectX video as well as otehr windows that use transparency. PrtScrn sucks but is easily replaced by other screen capturing apps that do a much better job and don't have the limitations of PrtScrn.

            aspdotnetdev wrote:

            Embedding them and encrypting them could make it at least difficult to copy files.

            Copying the files is easy. Decrypting the data is harder.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008
            But no longer in 2009...

            A 1 Reply Last reply
            0
            • A AspDotNetDev

              Dave Kreskowiak wrote:

              anything you put on the screen can be captured

              For some reason, I have trouble capturing frames from video that plays on my computer. I wonder if that could be utilized to prevent a screen capture of an image. I think it has something to do with hardware acceleration, though it may be a quirk of my video card.

              Dave Kreskowiak wrote:

              Every file can be copied

              Embedding them and encrypting them could make it at least difficult to copy files.

              [Forum Guidelines]

              A Offline
              A Offline
              Anthony Mushrow
              wrote on last edited by
              #6

              aspdotnetdev wrote:

              have trouble capturing frames from video that plays on my computer

              Yeah that'll be the hardware acceleration, what windows actually puts up is some predefined overlay colour and the graphics card graciously fills this colour in with the video as it passes through. So when you take a screen capture you just capture a dark purple block. If you find what the overlay colour is you can fill a block of it in inside ms paint, and watch any currently playing videos on it.

              My current favourite word is: Smooth!

              -SK Genius

              A 1 Reply Last reply
              0
              • L loyal ginger

                In your video case it might be because the video player is using DirectX. There are programs out there that can grab DirectX output images. You just need to do a search on that. You may want to take a look at this article: Various methods for capturing the screen[^]

                A Offline
                A Offline
                AspDotNetDev
                wrote on last edited by
                #7

                loyal ginger is called:

                loyal ginger

                Prejudice :) (watch the whole thing, as it's not what it seems when it starts)

                [Forum Guidelines]

                L 1 Reply Last reply
                0
                • A Anthony Mushrow

                  aspdotnetdev wrote:

                  have trouble capturing frames from video that plays on my computer

                  Yeah that'll be the hardware acceleration, what windows actually puts up is some predefined overlay colour and the graphics card graciously fills this colour in with the video as it passes through. So when you take a screen capture you just capture a dark purple block. If you find what the overlay colour is you can fill a block of it in inside ms paint, and watch any currently playing videos on it.

                  My current favourite word is: Smooth!

                  -SK Genius

                  A Offline
                  A Offline
                  AspDotNetDev
                  wrote on last edited by
                  #8

                  SK Genius wrote:

                  If you find what the overlay colour is you can fill a block of it in inside ms paint, and watch any currently playing videos on it.

                  I always wondered why it did that. Thanks for the info!

                  [Forum Guidelines]

                  1 Reply Last reply
                  0
                  • D Dave Kreskowiak

                    PrtScrn hes problem capturing DirectX video as well as otehr windows that use transparency. PrtScrn sucks but is easily replaced by other screen capturing apps that do a much better job and don't have the limitations of PrtScrn.

                    aspdotnetdev wrote:

                    Embedding them and encrypting them could make it at least difficult to copy files.

                    Copying the files is easy. Decrypting the data is harder.

                    A guide to posting questions on CodeProject[^]
                    Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                         2006, 2007, 2008
                    But no longer in 2009...

                    A Offline
                    A Offline
                    AspDotNetDev
                    wrote on last edited by
                    #9

                    Dave Kreskowiak wrote:

                    Copying the files is easy. Decrypting the data is harder.

                    Lol, true.

                    [Forum Guidelines]

                    1 Reply Last reply
                    0
                    • A AspDotNetDev

                      loyal ginger is called:

                      loyal ginger

                      Prejudice :) (watch the whole thing, as it's not what it seems when it starts)

                      [Forum Guidelines]

                      L Offline
                      L Offline
                      loyal ginger
                      wrote on last edited by
                      #10

                      Very funny. Thanks!

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups