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_UpgradeIPC

### Interface Definition

C++C#

    1
    2
    3
    4
    POINTERHANDLE NET_SDK_UpgradeIPC(
        LONG lUserID,
        char* sFileName,
        unsigned int fileType);

    1
    2
    3
    4
    public static extern POINTERHANDLE NET_SDK_UpgradeIPC(
        int lUserID,
        string sFileName,
        uint fileType);

### Function Description

Remotely upgrade IPC.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
sFileNamein | char* | Upgraded file path (including file name), note: Please use absolute path, do not use relative paths.
fileTypein | unsigned int | Upgraded file types: 0:software; 1:kernel; 2:Uboot; 3:AIlib.

### Return Value

- Type：POINTERHANDLE

- Remark：-1 indicates failure, other values ​​are used as IPC upgrade handles.

### Remarks

None

Error Code