public static String [ ] getMACAddresses ( ) { String [ ] cmds ; if ( RunAnywhere . isWindows ( ) ) { cmds = WINDOWS_CMDS ; } else { cmds = UNIX_CMDS ; } return parseMACs ( tryCommands ( cmds ) ) ; }
Get all the MAC addresses of the hardware we are running on that we can find .