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_GetRecordDevice

### Interface Definition

C++C#

    1
    2
    3
    4
    unsigned int NET_SDK_GetRecordDevice(
        LONG lUserID,
        NET_SDK_RECORD_DEVICE* lpRecordDevice,
        unsigned int maxNum);

    1
    2
    3
    4
    public static extern UInt32 NET_SDK_GetRecordDevice(
        Int32 lUserID,
        IntPtr lpRecordDevice,
        UInt32 maxNum);

### Function Description

Get device information on the device recording. The device may have been deleted or is offline.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
lpRecordDeviceout | `NET_SDK_RECORD_DEVICE`* | Recording device information structure array.
maxNumin | unsigned int | The number of structures saved by lpRecordDevice.

### Return Value

- Type：unsigned int

- Remark：The number of recording devices.

### Remarks

None

Error Code