获取本机Mac地址 NetworkInterface[] nis = NetworkInterface.GetAllNetworkInterfaces(); Debug.Log(nis[0].GetPhysicalAddress().ToString());