Click here to Skip to main content
13,140,231 members (46,109 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi, I recently discovered that there is a way for hackers to spy through your PC's video camera to spy on you. Usually I disconnect my portable camera when I'm on my desktop but for my laptop with a built in camera that's a different story. I want to try to create a anti spy application on visual C# with no third party programs.I want the program to alert me with a messagebox when the program picks up activity with the camera. Is this possible? If so, how can it be done?

Also out of curiosity, is there a way to make an application that detects hidden windows that are running under 100% opacity?

I will appreciate any comments thanks.
Posted 8-May-12 17:00pm
SAKryukov 8-May-12 23:22pm
This question makes me paranoid about my own camera on a laptop I'm working with right now, so I voted 5. :-)
MR. AngelMendez 8-May-12 23:26pm
thanks I hope the process is possible and easy to do

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Well, maybe you take a look at the examples here
Versatile WebCam C# library[^] or WebCam Fast Image Capture Service using WIA[^] and just check if the device is availale and able to capture. If you do this frequently you know when another application is using the webcam because the access should be blocked for your application - maybe not, if concurrent usage of webcam devices is possible, as far as i know it's not. do the same for mic, clipboard and screen and post your security suite here. i am very intrested in this for your concerns are totally reasonable. contact me on success.
MR. AngelMendez 10-May-12 4:25am
Hi, sorry I haven't been on lately. Unfortunately I am confused with both of your example links, I am not so fluent in visual C#. Is there a process that goes on when the camera is active? if so then I could try to track it and make a messagebox alert me when it is active. I appreciate your help, thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 9 May 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100