# GetSDLogInfo()

#### C\#

```csharp
[DllImport("RGUSBdrv.dll", CallingConvention = CallingConvention.Cdecl)]
public static extern byte GetSDLogInfo(
            ushort LogNumber,
            IntPtr StartLogDateTime, IntPtr EndLogDateTime,
            IntPtr LoggingTimeStart, IntPtr LoggingTimeEnd,
            IntPtr LogStartDataSector, IntPtr LogEndDataSector,
            IntPtr LogDataSize, IntPtr GUID, IntPtr FileName, IntPtr isEncrypted);
```

#### Parameter

\[in] LogNumber

#### Returns:

Log Start and End Date Time

Logging Time start and End Time

Data Sector where logging started and Data Sector where logging ended

Log Data Size

GUID

File Name

Encryption Status

#### C# Example:

Refer the example application code.

<https://www.influxtechnology.com/rexgen-support>

Downloads Section > API


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.influxtechnology.com/support_guides/rexgen-open-api-application/device-library/rgusbdrv.dll/getsdloginfo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
