# BoardConfig.GetDeviceMacAddress() method

Returns the name that identifies the MAC address of an Ethernet device.

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

## Function Prototype

VB .NET

Public Function GetDeviceMacAddress(ByRef macAddress As String) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo GetDeviceMacAddress(out string macAddress)

## Parameters

macAddress

Returns a string containing the MAC Address of an Ethernet device.

## Returns

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