【发布时间】:2022-12-27 14:10:49
【问题描述】:
I need to log information about any processes that starts to use a web camera. I know there is a way to look it up in a registry by key:
Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\webcam\NonPackaged
But I don`t know if this method is trustworthy: what if user will not have Capability Access Manager service running, or he uses any software to bypass it.
Is there any low level way to get all web camera sessions with processes specified?
【问题讨论】:
-
Do you develop UWP app ?
-
No, just a .NET project
标签: c# windows .net-6.0 webcam