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_EditNetPortCfg

### Interface Definition

C++C#

    1
    2
    3
    BOOL NET_SDK_EditNetPortCfg(
        LONG lUserID,
        BOOL bHttpsSwitch);

    1
    2
    3
    public static extern Boolean NET_SDK_EditNetPortCfg(
        Int32 lUserID,
        Boolean bHttpsSwitch);

### Function Description

Network port configuration interface, set device HTTPS switch.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, return value of `NET_SDK_Login`.
bHttpsSwitchin | BOOL | HTTPS switch (TRUE: on, FALSE: off).

### Return Value

- Type：BOOL

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

### Remarks

None

Error Code