Skip to content

NET_SDK_SetRegisterPort

Interface Definition

1
2
3
4
BOOL NET_SDK_SetRegisterPort(
    WORD wRegisterPort,
    REG_LOGIN_INFO* pLoginInfo = NULL,
    unsigned int deviceNum = 0);
1
2
3
4
public static extern bool NET_SDK_SetRegisterPort(
    UInt16 wRegisterPort,
    IntPtr ptr,
    int num);

Function Description

The device receives the local platform port number actively registered by the DVR.

Parameter Description

Parameters Type Remark
wRegisterPortin WORD The device receives the local platform port number actively registered by the DVR.
pLoginInfoin REG_LOGIN_INFO* To actively register the information of the device connected to the SDK, you need to pass in an array of arrays.
deviceNumin unsigned int The length of pLoginInfo.

Return Value

  • type:BOOL

  • remark:Returns TRUE if successful, FALSE if failed.

Remarks

None

Error Code