# BoardConfig.GetDeviceVersion()

Returns the firmware version and FPGA version installed on a device.

Member of the cBoardConfig class. Accessible from the MccBoard.BoardConfig property.

## Function Prototype

VB .NET

Public Function GetDeviceVersion(ByRef Type As MccDaq.VersionType, ByVal Version As String) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetDeviceVersion(VersionType Type Type, out string Version)

## Parameters

Type

Specifies the hardware version (firmware or FPGA) installed on the device. Each version type is a MccDaq.VersionType enumerated value.

Version

The string identifier associated with the version type.

## Returns

- An ErrorInfo object that indicates the status of the operation.