# BoardConfig.GetDeviceUniqueId() method

Returns a string that uniquely identifies a discoverable device; for example, the serial number for a USB device or the MAC address of an Ethernet device.

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

## Function Prototype

VB .NET

Public Function GetDeviceUniqueId(ByRef UniqueId As String) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetDeviceUniqueId(out string UniqueId)

## Parameters

UniqueId

Returns a string that uniquely identifies a discoverable device, such as the serial number of a USB device or MAC address of an Ethernet device.

## Returns

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