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_GetUpgradeProgress

### Interface Definition

C++C#

    1
    2
    3
    int NET_SDK_GetUpgradeProgress(
        POINTERHANDLE lUpgradeHandle,
        int* pError = NULL);

    1
    2
    public static extern int NET_SDK_GetUpgradeProgress(
        POINTERHANDLE lUpgradeHandle);

### Function Description

Get the progress of remote upgrade.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUpgradeHandlein | POINTERHANDLE | Upgrade handle, the return value of `NET_SDK_Upgrade`, `NET_SDK_UpgradeEx`, or `NET_SDK_UpgradeIPC`.
pErrorout | int* | Upgrade error return code, need to be initialized first.

### Return Value

- Type：int

- Remark：-1 indicates failure, and 0 to 100 indicates the upgrade progress.

### Remarks

None

Error Code