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. How to prevent PrtScn?

How to prevent PrtScn?

Scheduled Pinned Locked Moved C#
questioncsharpcomtestingbeta-testing
6 Posts 6 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.
  • M Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #1

    This isn't necessarily a C# question. Any ideas how to prevent PrtScn from doing it's thing? I know there's a variety of screen capture programs out there, but let's assume for the moment that the client's environment is sufficiently controlled that a third party screen capture app isn't an issue. But we do want to stop the built-in prtscn from working so that an unscrupulous client can't take screen shots of sensitive information. Marc MyXaml Advanced Unit Testing YAPO

    S S D L 4 Replies Last reply
    0
    • M Marc Clifton

      This isn't necessarily a C# question. Any ideas how to prevent PrtScn from doing it's thing? I know there's a variety of screen capture programs out there, but let's assume for the moment that the client's environment is sufficiently controlled that a third party screen capture app isn't an issue. But we do want to stop the built-in prtscn from working so that an unscrupulous client can't take screen shots of sensitive information. Marc MyXaml Advanced Unit Testing YAPO

      S Offline
      S Offline
      snouto
      wrote on last edited by
      #2

      i have an idea and i think it may help you ========================================== you can check all your open ports in your pc and then listen to them all and then refuse the connection request comes from any port this is the idea behind any firewall application i guess so .............. about the designing of this programmer is very easy to preform Thank you my brother.... Miss With The Best And Die Like The Rest

      D 1 Reply Last reply
      0
      • M Marc Clifton

        This isn't necessarily a C# question. Any ideas how to prevent PrtScn from doing it's thing? I know there's a variety of screen capture programs out there, but let's assume for the moment that the client's environment is sufficiently controlled that a third party screen capture app isn't an issue. But we do want to stop the built-in prtscn from working so that an unscrupulous client can't take screen shots of sensitive information. Marc MyXaml Advanced Unit Testing YAPO

        S Offline
        S Offline
        S Senthil Kumar
        wrote on last edited by
        #3

        How about a keyboard hook that gets loaded at system startup and swallows all PrintScreen keypresses? Regards Senthil _____________________________ My Blog | My Articles | WinMacro

        1 Reply Last reply
        0
        • S snouto

          i have an idea and i think it may help you ========================================== you can check all your open ports in your pc and then listen to them all and then refuse the connection request comes from any port this is the idea behind any firewall application i guess so .............. about the designing of this programmer is very easy to preform Thank you my brother.... Miss With The Best And Die Like The Rest

          D Offline
          D Offline
          Dead Skin Mask
          wrote on last edited by
          #4

          i think he meant printscreen, not portscan... either that or im even more confusticated than i thought . :~ on the other hand, listening to open ports to stop a a printscreen sounds like an interesting challenge for masochists :((

          1 Reply Last reply
          0
          • M Marc Clifton

            This isn't necessarily a C# question. Any ideas how to prevent PrtScn from doing it's thing? I know there's a variety of screen capture programs out there, but let's assume for the moment that the client's environment is sufficiently controlled that a third party screen capture app isn't an issue. But we do want to stop the built-in prtscn from working so that an unscrupulous client can't take screen shots of sensitive information. Marc MyXaml Advanced Unit Testing YAPO

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

            I agree with Kumar. A keyboard hook will let you stop the PrintScreen key from ever reaching the system. I wrote up something similar in C++ a few years back to eat the Windows key. I also seem to remember hearing somewhere that if you change the Opacity of the form, even to 99%, PrintScreen won't see your form. Try it, see what happens. But the down side to this is that it might not work like this with all video drivers and versions of Windows, especially future versions. Ack! Forget I mentioned it! RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            1 Reply Last reply
            0
            • M Marc Clifton

              This isn't necessarily a C# question. Any ideas how to prevent PrtScn from doing it's thing? I know there's a variety of screen capture programs out there, but let's assume for the moment that the client's environment is sufficiently controlled that a third party screen capture app isn't an issue. But we do want to stop the built-in prtscn from working so that an unscrupulous client can't take screen shots of sensitive information. Marc MyXaml Advanced Unit Testing YAPO

              L Offline
              L Offline
              leppie
              wrote on last edited by
              #6

              PrintSCreen doesnt work on video overlay windows, maybe you can have a transparent overlay window, over sensitive data. Would make a nice article :) xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots

              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