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_NVR_DISKREC_DATE_ITEM

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    8
    typedef struct _net_sdk_nvr_diskrec_date_item
    {
        unsigned int diskCount;
        unsigned int diskIndex;
        char szDiskSizeGB[16];
        char szStartDate[32];
        char szEndDate[32];
    } NET_SDK_NVR_DISKREC_DATE_ITEM;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_NVR_DISKREC_DATE_ITEM
    {
        public UInt32 diskCount;
        public UInt32 diskIndex;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 16)]
        public byte[] szDiskSizeGB;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 32)]
        public byte[] szStartDate;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 32)]
        public byte[] szEndDate;
    }

### Function Description

Recording days information structure.

### Member Description

Member | Type | Remark
--- | --- | ---
diskCount | unsigned int | Number of hard disks.
diskIndex | unsigned int | Hard disk index number.
szDiskSizeGB | char[16] | Hard disk size in GB.
szStartDate | char[32] | Recording start date, in YYYY-MM-DD format.
szEndDate | char[32] | Recording end date, in YYYY-MM-DD format.

Error Code