开发者

How do I restrict my driver from working for thirdparty applications?

开发者 https://www.devze.com 2023-03-09 15:47 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号