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_GetDeviceIPCInfo

### Interface Definition

C++C#

    1
    2
    3
    4
    5
    BOOL NET_SDK_GetDeviceIPCInfo(
        LONG lUserID,
        NET_SDK_IPC_DEVICE_INFO* pDeviceIPCInfo,
        LONG lBuffSize,
        LONG* pIPCCount);

    1
    2
    3
    4
    5
    public static extern bool NET_SDK_GetDeviceIPCInfo(
        Int32 lUserID,
        IntPtr pDeviceIPCInfo,
        Int32 lBuffSize,
        ref Int32 pCHCount);

### Function Description

Get NVR device configuration IPC information interface.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
pDeviceIPCInfoout | `NET_SDK_IPC_DEVICE_INFO`* | The IPC information structure buffer currently configured by the device, refer to `NET_SDK_IPC_DEVICE_INFO`.
lBuffSizein | LONG | PDeviceIPCInfo length (sizeof(`NET_SDK_IPC_DEVICE_INFO`) * maximum number of digital channels)
pIPCCountout | LONG* | The number of IPCs currently configured on the device

### Return Value

- Type：BOOL

- Remark：Returns TRUE if successful, FALSE if failed.

### Remarks

None

Error Code