Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# NET_SDK_GetDeviceTypeName

### Interface Definition

C++C#

    1
    2
    3
    4
    LONG NET_SDK_GetDeviceTypeName(
        LONG lUserID,
        char* pNameBuffer,
        int bufferLen);

    1
    2
    3
    4
    public static extern Int32 NET_SDK_GetDeviceTypeName(
        Int32 lUserID,
        byte[] pNameBuffer,
        Int32 bufferLen);

### Function Description

Gets the device type name.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
pNameBufferout | char* | The device type name.
bufferLenout | int | The size of the space requested by pNameBuffer.

### Return Value

- Type：LONG

- Remark：The actual length of pNameBuffer.

### Remarks

None

Error Code