开发者

Visual C#: To check a hardware had connected to PC

开发者 https://www.devze.com 2023-03-25 16:29 出处:网络
I\'m newbie of Visual C#. I need to modify a pc based application which developed by Visual C# 2010. There is a button to open a \"Chinese Handwriting Recognition System\" software.

I'm newbie of Visual C#.

I need to modify a pc based application which developed by Visual C# 2010. There is a button to open a "Chinese Handwriting Recognition System" software.

But I want to add a checking that the USB handwriting Pad had not connected to the PC or not. If not, it will prompt a message to remind to attached the USB pad.

How can I check the hardware had开发者_开发百科 connected to PC or not ?

Thanks. Joe


I think you are looking for this;

How do I check whether a given USB device is plugged in? Or possibly this might do what you need as well;

C# Checking for presence of usb drive

0

精彩评论

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