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


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

    Parameters

    Index
    Remarks

    If successful:

    DeviceStatus = 0;

    Return Value = The Serial Number of the USB Device;

    If Unsuccessful:

    DeviceStatus = ErrorCode;

    Return Value = "Error";

    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also