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 bitMacOS X Cocoa 64 bitWindows 32 bitWindows 64 bitLinux 32 bitLinux 64 bitLinux ARMUnsupported Platforms:
MacOS X Carbon
See Also
EinhugurEthernetUtilities Module