A Sandcastle Documented Class Library
GetDeviceCount Method (pVID_PID)
Namespaces > PICUSB > MPUSB > GetDeviceCount(String)
Scans USB bus to determine number of devices connected with a given PID/VID.
Syntax
C#Visual BasicManaged C++
public static uint GetDeviceCount (
	string pVID_PID
)
Public Shared Function GetDeviceCount ( _
	pVID_PID As String _
) As UInteger
public:
static unsigned int GetDeviceCount (
	String^ pVID_PID
)
Parameters
pVID_PID (String)
PID/VID in question
Return Value
Number of devices found

Assembly: PICUSB Version: 1.0.2970.38156 (Module: PICUSB)