|
Post by pablosl on Jun 14, 2020 17:54:43 GMT -5
I would like to find the MAC Address of current phisical network card. How to?.
Thanks,
-Pablo
|
|
|
Post by irvbingham on Jun 14, 2020 20:36:54 GMT -5
Most network routers will allow you to display the MAC address of connected devices.
|
|
|
Post by metro on Jun 15, 2020 1:07:32 GMT -5
Rod posted this 24/10/2014, (10/24/2014 for some of you ) Not sure if its what you are after
'Richard has shown a simpler way to get the primary MAC address.
' code begins open "rpcrt4.dll" for dll as #rpcrt4 uuid$ = space$(16) calldll #rpcrt4, "UuidCreateSequential", uuid$ as ptr, r as long close #rpcrt4 for i = 11 to 16 MAC$ = MAC$ + "-" + right$("0" + dechex$(asc(mid$(uuid$,i))),2) next MAC$ = mid$(MAC$,2) print "MAC address is "; MAC$ ' code ends
|
|
|
Post by pablosl on Jun 15, 2020 16:42:10 GMT -5
Thank you metro! I think that solves the issue.
-Pablo
|
|