this is my idea, not tested though but possible.
you get it from every platforms sdk but i dont know if windows phone sdk supports getting the mac address. also in ios7 above it doesnt support it anymore bec. the old way is deprecated now and they advice to use [UIDevice identifierForVendor]. but you can always check the ios version so you could invoke 2 different ways.