FUTEK .NET API Documentation
FUTEK_USB_DLL Assembly / FUTEK_USB_DLL Namespace / USB_DLL Class / Get_Device_Count Method


In This Topic
    Get_Device_Count Method
    In This Topic
    Get_Device_Count is a Function that is used to get the USB Device count. It also assigns a value representing the DeviceStatus of the USB Device.
    Syntax
    'Declaration
     
    
    Public Function Get_Device_Count() As String
    'Usage
     
    
    Dim instance As USB_DLL
    Dim value As String
     
    value = instance.Get_Device_Count()
    public string Get_Device_Count()
    Remarks

    If successful:

    DeviceStatus = 0;

    Return Value = The number of USB Devices connected;

    If Unsuccessful:

    DeviceStatus = ErrorCode;

    Return Value = "Error";

    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also