iPhone的MAC地址是唯一的,它会改变吗? [英] Is MAC address of iPhone unique and will it change?

查看:1072
本文介绍了iPhone的MAC地址是唯一的,它会改变吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用iphone的MAC地址作为应用程序的唯一标识符。
我想知道它是否有所改变,或者每台设备是否独一无二。

I want to use MAC address of the iphone as my unique identifier of the app. I was wondering if it changes or is it unique per device.

谢谢

推荐答案

不要使用MAC地址代替UDID。请使用标识符广告商[IDFA]或供应商标识符[IDFV]。

Do not use the MAC address as a replacement for the UDID. Use the Identifier For Advertisers [IDFA] or the Identifier For Vendors [IDFV] instead.

p1。 MAC地址不需要全局唯一。

p1. The MAC address is not required to be globally unique.

p2。即使EUI-48或EUI-64格式的U / L位将地址标识为通用,MAC地址也不需要全局唯一。所有这一切真正意味着OUI是全球注册的,并且它识别的组织负责注册使用该OUI的各个地址。

p2. Even when the U/L bit in the EUI-48 or EUI-64 format identifies the address as "universal," the MAC address is not required to be globally unique. All that bit really means is that the OUI is globally registered, and the organization that it identifies is assuming responsibility for registering the individual addresses that use that OUI.

p3。说真的,MAC地址不是全球唯一的。问任何在网络互操作性实验室工作的人。根据他们从未公开讨论的政策,硬件制造商会一直重复使用它们。它不是UDID的替代品。

p3. Seriously, the MAC address is not globally unique. Ask anybody who works in a network interoperability laboratory. Hardware manufacturers reuse them all the time, according to policies they never discuss publicly. It is not a replacement for the UDID.

p4。操作系统没有义务向非特权应用程序提供实际的硬件MAC地址。当前版本可能正在执行此操作,但某些未来版本可能会突然并默默地停止这样做。它可以开始在每个设备上返回相同的地址。

p4. The operating system is under no obligation to present the actual hardware MAC address to non-privileged applications. The current version may be doing that today, but some future version might rather suddenly and silently stop doing that. It could start returning an identical address on every device.

不要使用MAC地址代替UDID。请改为使用标识符广告商[IDFA]或供应商标识符[IDFV]。

Do not use the MAC address as a replacement for the UDID. Use the Identifier For Advertisers [IDFA] or the Identifier For Vendors [IDFV] instead.

这篇关于iPhone的MAC地址是唯一的,它会改变吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆