UtilsLib Xojo plugin

EinhugurEthernetUtilities.GetEthernetAddress Method (console safe)

To get the MAC id from the Ethernet card of the computer, use the GetEthernetAddress function.

GetEthernetAddress(
   iID as Integer) as String

Parameters

iID
Id of the Ethernetcard to get the address from. (This value is 0 based, that is 0 will return 1st card, 1 2nd and so on)

Returns

String

Remarks

If your Computer does not have an Ethernet card then a empty string will be returned.

Supported Platforms:

  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM

    Unsupported Platforms:

  • MacOS X Carbon

    See Also

    EinhugurEthernetUtilities Module