# BoardConfig.GetUserDeviceIdNum()

Returns the user-configured number that identifies a USB or Ethernet device.

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

## Function Prototype

VB .NET

Public Function GetUserDeviceIdNum(ByRef UserDeviceIdNum As Integer) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo SetUserDeviceId(out int UserDeviceIdNum)

## Parameters

UserDeviceIdNum

Returns user-configured number that identifies a USB or Ethernet device.

## Returns

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