Issue 492 · Week of Jun 09, 2026
Feed Jobs Search Platform About Donate
← Back to feed / //dotnet

How to Stop Windows App Screen Capture

Read full article Discuss
Some Windows programs show private data. You can stop Windows from taking and saving screenshots of your app by using SetWindowDisplayAffinity with the WDA_EXCLUDEFROMCAPTURE flag.