# GetFileInfo()

Returns file information from the file associated with the current instance of the DataLogger.

Member of the DataLogger class.

## Function Prototype

VB .NET

Public Function GetFileInfo(ByRef version As Integer, ByRef size As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetFileInfo(ref int version, ref int size)

## Parameter

version

The version level of the file.

size

The size in bytes of the file.

## Returns

- An ErrorInfo object that indicates the status of the operation.
- version – Returns the version level of the binary file.
- size – Returns the size in bytes of the binary file.