| UtilsLib Xojo and Real Studio plugin |
|
GetEthernetAddress Method
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 CarbonMacOS X CocoaWin32 - WindowsLinux x86Unsupported Platforms:
See Also
GlobalMethods Global