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_SetConfigFile

### Interface Definition

C++C#

    1
    2
    3
    BOOL NET_SDK_SetConfigFile(
        LONG lUserID,
        char* sFileName);

    1
    2
    3
    public static extern bool NET_SDK_SetConfigFile(
        int lUserID,
        string sFileName);

### Function Description

Import the configuration file.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
sFileNamein | char* | Store the file path (binary file) that saves the configuration file. Note: Please use absolute paths, do not use relative paths.

### Return Value

- Type：BOOL

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

### Remarks

None

Error Code