'Declaration Public Function Get_Device_Count() As String
'Declaration
Public Function Get_Device_Count() As String
'Usage Dim instance As USB_DLL Dim value As String value = instance.Get_Device_Count()
'Usage
Dim instance As USB_DLL Dim value As String value = instance.Get_Device_Count()
public string Get_Device_Count()
If successful:
DeviceStatus = 0;
Return Value = The number of USB Devices connected;
If Unsuccessful:
DeviceStatus = ErrorCode;
Return Value = "Error";
Target Platforms: Windows 10, Windows 11
Target Framework: .NET Framework 4.8 or later
USB_DLL Class USB_DLL Members