A Sandcastle Documented Class Library
GetDeviceCount Method (Vid_Pid)
Namespaces > PICUSB > usb_interface > GetDeviceCount(String)
Scans the USB bus for connected devices with matching VID/PID
Syntax
C#Visual BasicManaged C++
public uint GetDeviceCount (
	string Vid_Pid
)
Public Function GetDeviceCount ( _
	Vid_Pid As String _
) As UInteger
public:
unsigned int GetDeviceCount (
	String^ Vid_Pid
)
Parameters
Vid_Pid (String)
VID/PID to scan for
Return Value
Number of connected devices

Assembly: PICUSB Version: 1.0.2970.38156 (Module: PICUSB)