How to detect using c# if a pendrive is plugged into a USB port?

前端 未结 4 1428
孤街浪徒
孤街浪徒 2020-12-04 16:52

Is there a way to find out when in a LAN anyone plugs in a pendrive to the USB port? Programatically (in C# preferably) or through some tool. Basically I\'d imagine a clien

4条回答
  •  星月不相逢
    2020-12-04 17:49

    Are you trying to prevent the use of USB thumb drives? If so there is a Group Policy that allows you to restrict access.

提交回复
热议问题