UtilsLib REALbasic Plugin

GetEthernetAddressCount Method

To get the count of Ethernet adapters, use the GetEthernetAddressCount function.

GetEthernetAddressCount() as Integer

Parameters

Returns

Integer

Remarks

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

Note:
Retrieving information for multiple Ethernet cards is currently only
supported on Windows x86, so this function will always return 0 or 1 on MacOS.

It was decided not to develop this function further because REALbasic now has this functionality built in, because of that then there is no Linux implementation of this function.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows

    See Also

    GlobalMethods Global