mac - MAC address
Returns a Media Access Control(MAC) address used in network addressing. This is the hardware-address of a device (computer, router, smart-phone, etc).
Note: If you need MAC addresses with upper case notation, use the upper() modifier function.
Usage(s)
mac () |
Returns an artificial MAC address (lower case hexadecimal characters). |
Parameter(s)
This function has no parameters |
Example(s)
MAC address
mac()
34:4f:61:95:48:01
|
Uppercase MAC address
upper(mac())
9B:91:F8:F5:36:99
65:54:8B:E6:E1:46
11:67:0F:E0:4D:09
18:04:A7:B3:67:EC
66:49:71:B9:E2:CF
AE:BA:4C:F7:B7:58
4B:56:86:59:DD:D8
44:CA:1F:D5:D0:C2
A4:7B:C1:14:93:F5
CC:6C:E2:73:19:AC
AD:BE:ED:42:EE:60
74:C2:20:EC:93:21
E7:32:EE:E8:C1:19
D9:F5:32:58:3C:8B
70:31:BD:23:7A:FE
09:71:DA:B8:17:00
87:38:AC:9C:DE:B4
03:90:F6:B8:2B:0F
14:BF:5F:34:58:53
35:F5:F3:21:A2:DD
|
See also
ip - IP address