Can't find device on libusbdotnet

I am a beginer on USB. I found libusbdotnet on http://sourceforge.net/projects/libusbdotnet/ i am using the library. But i can't find my device by command

MyUsbDevice = UsbDevice.OpenUsbDevice(MyUsbFinder); 
//public UsbDeviceFinder MyUsbFinder = new UsbDeviceFinder(0xc251, 0x2722);

The vendor and product ID are the vender, product ID of Keil ULINK2.

MyUsbDevice always null although The USB is attached.

Thank for help!

Upvotes: 1

Views: 1721

Answers (1)

BachPhi
BachPhi

Reputation: 180

You need to download LibUsbDotNet_Setup.2.2.8.exe and run setup. During setup you should enable filter and choose your input device per your vendor id. Then your code will find the device afterwards

Upvotes: 1

Related Questions