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_AUTO_REPORT

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    typedef struct _dd_auto_report_
    {
        unsigned int bUse;
        char host[256];
        unsigned int dwPort;
        unsigned int ID;
    } DD_AUTO_REPORT;

    1
    2
    3
    4
    5
    6
    7
    8
    9
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_AUTO_REPORT
    {
        public UInt32 bUse;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 256)]
        public byte[] host;
        public UInt32 dwPort;
        public UInt32 ID;
    }

### Function Description

Passively receive DVR registration structure.

### Member Description

Member | Type | Remark
--- | --- | ---
bUse | unsigned int | Whether to enable the automatic reporting and registration function.
host | char[256] | Registered platform server address.
dwPort | unsigned int | Registered platform server port.
ID | unsigned int | The assigned registration ID.

Error Code