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.

# DD_DDNS_SERVER_INFO

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    typedef struct _dd_ddns_server_info
    {
        unsigned char DDNSID;
        unsigned char supportproperty;
        unsigned char noused[2];
        char DDNSServerName[64];
    } DD_DDNS_SERVER_INFO;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_DDNS_SERVER_INFO
    {
        public byte DDNSID;
        public byte supportproperty;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 2)]
        public byte[] noused;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
        public byte[] DDNSServerName;
    }

### Function Description

DDNS server information structure.

### Member Description

Member | Type | Remark
--- | --- | ---
DDNSID | unsigned char | The corresponding server name is valid only when the server ID is greater than 0.
supportproperty | unsigned char | MASK of supported properties except username and password, NCFG_ENUM_DDNS_SUPPORT_PROPERTY.
noused | unsigned char[2] | The DDNS server is not enabled.
DDNSServerName | char[64] | The address of the DDNS server.

Error Code