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_GetNvrRecordDays

### Interface Definition

C++C#

    1
    2
    3
    4
    5
    BOOL NET_SDK_GetNvrRecordDays(
        LONG lUserID,
        NET_SDK_NVR_DISKREC_DATE_ITEM* pDiskRecDateInfo,
        LONG lBuffSize,
        LONG* pDISKCount);

    1
    2
    3
    4
    5
    public static extern Boolean NET_SDK_GetNvrRecordDays(
        Int32 lUserID,
        IntPtr pDiskRecDateInfo,
        Int32 lBuffSize,
        ref int pDISKCount);

### Function Description

Get the number of days of recording (only supported by N9000).

### Parameter Description

Parameters | Type | Remark
--- | --- | ---
lUserIDin | LONG | User ID, the return value of `NET_SDK_Login` or `NET_SDK_LoginEx`.
pDiskRecDateInfoout | `NET_SDK_NVR_DISKREC_DATE_ITEM`* | Recording days information.
lBuffSizein | LONG | PDiskRecDateInfo: Specifies the space size to be applied for.
pDISKCountout | LONG* | Number of disks.

### Return Value

- Type：BOOL

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

### Remarks

None

Error Code