2

I'm looking for an ability in managed code to monitor which processes are accessing microphone devices on my computer.

I was able to find C++ examples of viewing audio output (AudioSessionManager), but is there an API for input devices also?

Extended: How can one protect himself against microphone spying on Windows oeprating system?

Community
  • 1
  • 1
panpernicek
  • 584
  • 4
  • 9
  • The Windows operating system is above your program, hierarchy-wise. If it wants to use your microphone without anyone else noticing, it will. To the question: You can write a wrapper for that unmanaged code, see https://stackoverflow.com/questions/14306048/controling-volume-mixer (the `IAudioSessionManager2` interace). – Maximilian Gerhardt Mar 26 '16 at 13:09
  • Thanks for the answer, but this is for audio output. I'm looking for monitor usage of audio input. I understand that OS is above application, but I'm not protecting myself from "bad Microsoft OS" - I'm looking for protection against other "evil apps". – panpernicek Mar 26 '16 at 13:36
  • Were you able to find a solution? I just need to know if the microphone is being used or not – Ali123 Oct 16 '19 at 07:49

0 Answers0