How do I restrict my webcam driver from being used by other applications? I don't want other applications to use it. It should only work with my application.
Anyway I can achieve this in C#? The driver is developed by a different company and we're just getting the software done.
I understand that its not fair to ask the entire code..But atleast point 开发者_如何学运维me please.
Thanks so much.
Without rewriting the driver, adding a bunch of checks that could probably be got around by someone who decompiles the code and sees what they are and duplicates them, or by adding DRM at a driver level, which will annoy users and be a maintenance nightmare? You can't. Device drivers expose a device to the system, not to an individual program.
精彩评论