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_ActiveDeviceByMac

### Interface Definition

C++C#

    1
    2
    3
    BOOL NET_SDK_ActiveDeviceByMac(
        char* pMac,
        char* password);

    1
    2
    3
    public static extern Boolean NET_SDK_ActiveDeviceByMac(
        IntPtr pMac,
        IntPtr password);

### Function Description

Activate the device using the MAC address.

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
pMacin | char* | Device MAC address.
passwordin | char* | Activate device password.

### Return Value

- Type：BOOL

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

### Remarks

None

Error Code