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_GetLastError

### Interface Definition

C++C#

    1
    DWORD NET_SDK_GetLastError();

    1
    public static extern UInt32 NET_SDK_GetLastError();

### Function Description

Returns the error code of the last operation.

### Parameter Description

None

### Return Value

- Type：DWORD

- Remark：The return value is an error code. Error codes are mainly divided into two categories: network communication library error codes and software and hardware library error codes. For specific meanings, refer to `NET_SDK_ERROR`.

### Remarks

None

Error Code